Docker
Docker volume 할당하여 실행
scone
2023. 3. 13. 22:13
https://www.daleseo.com/docker-volumes-bind-mounts/
https://maru1000.tistory.com/34
https://eungbean.github.io/2018/12/03/til-docker-commit/
이미지 : https://hub.docker.com/search?q=kimjungtaek

- kimjungtaek/ubuntu20.04-git-python3.8-cuda11.2
- ubuntu20.04
- git 설치
- python 3.8.10
- cuda 11.2
- kimjungtaek/nia-base-torch1.12.1
- ubuntu20.04
- git 설치
- python 3.8.10
- cuda 11.2
- torch1.12.1
docker run --volume [local volume address]:[docker volume address] -it --name [container name] --gpus all [docker image name] bash
ex)
sudo docker run --volume .:/home/data -it --name test-cuda --gpus all nia_maskrcnn bash