Sign inSign up

yoohahn/work-container

By yoohahn

•Updated over 7 years ago

Container for running my work env

Image
0

178

yoohahn/work-container repository overview

⁠work-container

Just so I don't have to install nodejs and java on my machine.

⁠Build

$ docker rmi -f yoohahn/work-container:latest && docker build --rm -f "Dockerfile" -t yoohahn/work-container:latest .

⁠Run

⁠Simple
$ docker run --rm -it yoohahn/work-container:latest
⁠With volumes
$ USR=$(whoami) && docker run --rm \
    -v /Users/$USR/git:/root/git \
    -v /Users/$USR/.gradle:/root/.gradle \
    -v /Users/$USR/.npmrc:/root/.npmrc \
    -v /Users/$USR/.gitconfig:/root/.gitconfig \
    -v /Users/$USR/.gitignore:/root/.gitignore \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -it yoohahn/work-container:latest

⁠Publish

$ docker push yoohahn/work-container:latest

Tag summary

Content type

Image

Digest

Size

219 MB

Last updated

over 7 years ago

docker pull yoohahn/work-container