Docker container mirror of my dev environment.
It contains my zsh
and vim
setup as well as some day to day used cli tools.
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock --name toolkit dnpetrovv/toolkit
docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${PWD}:/root/${PWD##*/} -w /root/${PWD##*/} --name toolkit dnpetrovv/toolkit
This will run the container and mount the current working directory under /root/<dir-name>
(~/<dir-name>)
inside the container. This way you can make any changes to your local file system form inside the container.