forked from UMich-BipedLab/docker_images
-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Ray Zhang edited this page Feb 7, 2022
·
3 revisions
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 git@github.com: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
docker exec -it [container_name] /bin/bash
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.