voxl-inspect on docker
-
hello !
i try to run “voxl-inspect-cpu " which is on host machine coded in a python script and i want to execute it on docker ,but when i build and run the image with the script it dosen't give me the result that i want ,how can fix that ? -
@wilkinsaf can you help !
-
@hedd Docker containers don't have access to any programs outside of the scope of their container. Files from the host machine can be mounted inside the docker container: https://docs.docker.com/storage/bind-mounts/
It may be possible to run certain "voxl-" scripts inside the container if they're purely bash or python but this likely wouldn't work if they require a bunch of dependencies that are only available on the host machine.
-
@tom there is no other methods for example use your nsenter ?!