Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 602 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 602 Bytes

DevSetup

This repo contains scripts, dockerfiles etc to set up my preferred environment quickly

Docker setup

  • Create a new docker image
docker build --build-arg baserepo=<baserepo> -t <image-name> [-f dockerfileName] .
  • Run dockerfile with mappings
nvidia-docker run --rm --name <container-name> -it -e DISPLAY=$DISPLAY  -v /tmp/.X11-unix:/tmp/.X11-unix -v /root/.Xauthority:/root/.Xauthority:rw -v /home/ankdesh/explore:/home/ankdesh/explore  -v /home/ankdesh/virtualenvs:/home/ankdesh/virtualenvs -v /home/ankdesh/.ssh:/home/ankdesh/.ssh -p 8888:8888  <image_name>:latest