This repository provides an example of an docker container, which is used as development environment.
The advantages are:
- All dependencies are only installed inside the container
-> No need to "pollute" your main system with all libraries/packages - Easy setup of complete dev env wherever you want
- Accessable through SSH
-> Perfect for usage as a remote build target (e.g. CLion,...) - Includes my personal dotfiles & machine setup (ohmyzsh, screen, vim, git, ...)
- Easy adaptable, e.g. just add the additionally needed packages
- Adapt the Dockerfile to your needs
- Run build-container.sh with the container name you want /
./build-container.sh dev-env
- Run run-container.sh with the previously given name /
./run-container.sh dev-env
- Connect with SSH to the running container
ssh -p 2222 [email protected]
- Credentials for login are set in the Dockerfile (default root:root)
Is an kind of recipe to build/install all the stuff you want inside your container
Script for building the container, possibility to add the container name as an variable (default ubuntu-dev)
Script for removing all containers
Script for running a container, possibility to add the container name as variable (default ubuntu-dev)
Script for stopping all containers