-
Notifications
You must be signed in to change notification settings - Fork 5
Home
https://docs.docker.com/v17.09/engine/installation/linux/docker-ce/ubuntu/#install-docker-ce
https://github.com/nvidia/nvidia-docker/wiki/Installation-(version-2.0)
https://docs.docker.com/install/linux/linux-postinstall/
https://www.tensorflow.org/install/docker#download_a_tensorflow_docker_image
git clone [email protected]:UMich-CURLY/docker_images.git
cd semantic_mapping_melodic
docker build --tag umrobotics/semantic_mapping_melodic .
bash run_cuda_docker.bash [container_name]
docker ps -a
This will give you all the containers you have created. Choose the one you need to open.
docker exec -it [container_name] /bin/bash
If you want use GUI, you can try xhost local:root
before running docker exec -it [container_name] /bin/bash
. It's not secure, but still a temp workaround.
docker exec -u root -it [container_name] /bin/bash
docker ps -a
--> Find you old container name
docker start [container_name]
- before your launch the new container: use
docker run
with disk mounting https://github.com/UMich-CURLY/docker_images/blob/master/semantic_mapping_melodic/run_cuda_docker.bash - to a running container: use
docker stop [container_name]
to stop and then usedocker commit [container_name]
to launch the container again, with disk mounting command indocker run
It is recommended to open a new tmux session first, and open docker container inside tmux.