Open liusida opened 3 years ago
Maybe a good way to do this is clone the repo locally, and only build a docker container to be a proper environment, and docker run -v
to mount local folder to the container, and compile.
So one can modify the local folder and compile and test inside the container.
Was the nvidia runtime container installed?
Yes. I am not sure why docker doesn't really work for me.
I tend to view the docker container as a compile environment. Once compile is done, the app can be run locally. I tried to make some change here https://github.com/voxcraft/voxcraft-sim/blob/docker_with_mount/Dockerfile and some bash files to help execute docker-related command, because I can't remember them and they are so long.
But I'm not very confident of using docker, still.
I am running into the same error and tried the fix. I am having trouble mounting the file locally.
When I was running
I had this error message:
Seems one can't access GPUs during
docker build
. According to answers here: https://stackoverflow.com/questions/59691207/docker-build-with-nvidia-runtimeMy work around is to comment out the final line in
Dockerfile
:and after voxcraft-sim was built, I got in by
and pull github and compile manually.