Docker image with many of the development tools I use the most.
- Version Control
- Java Build Tools
- Text Editors
- Basic Utilities
- Oracle Java 8
In addition, the devbox image creates a 'dev' user and has a /data volume
designed for mounting local directories.
To run devbox for the first time, run something like this:
docker run -it --name devbox \ -v /local/directory:/data \ -v /var/run/docker.sock:/var/run/docker.sock \ ctnitchie/devbox
/local/directory with a directory containing your development
The above command also shares the Docker daemon's socket with the image,
which allows you to run
sudo docker commands from within the container
for the Docker daemon running on the host machine (or boot2docker vm).
Some tools, especially Maven, populate caches that need to
be maintained between runs, so it's best practice to use the above
command to initialize the container, and then restart it over time using:
docker start -ai devbox