Skip to content

nimijkrap/docker_file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

build docker image wih Dockerfile

$ docker build -t imagename:tag .

run docker container

-v option : binding the local directory

$ docker run -d -ti --name [container name] --gpus all --ipc=host --ulimit memlock=-1 --ulimit stack=67108864 -v /home/jpark/work:/home/jpark/work [docker image name]:[tag]

log in to the Docker container as root (ID=0)

docker exec -u 0 -it [container name] bash

다음에 빌드할때 참고 해볼것 https://askubuntu.com/questions/906230/run-sudo-command-with-non-root-user-in-docker-container

About

docker_file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published