Overview | Quickstart | Install | Update | Configure | Run | Usage | OS | Backups | Examples | Technical | Hacking | FAQ
Only requirement for the devilbox is to have docker and docker-compose installed, everything else is bundled and provided within the Docker container.
Refer to the official Docker for Linux documentation for how to install Docker on your distribution.
Refer to the official Docker for Windows documentation for how to install Docker.
Note: You should install the Native Windows Docker and not the Docker Toolbox.
Refer to the official Docker for Mac documentation for how to install Docker.
Note: You should install the Native Mac Docker and not the Docker Toolbox.
Just clone the devilbox repository and copy the configuration file.
$ git clone https://github.com/cytopia/devilbox
$ cd devilbox
$ cp env-example .env
You are all set now and can continue with configuring the devilbox.
If you always want a stable development environment, you should stay on the latest git tag. However devilbox git tags are tied to specific Docker container tags. That means you will only get new Docker versions once you switch to the next devilbox git tag.
To check out the latest git tag, issue the following command:
$ git checkout "$(git describe --abbrev=0 --tags)"
When updating git tags, you do not need to explicitly pull new Docker images, as this will be done automatically once starting up the devilbox. The only thing you will have to do is to compare your current configuration file .env
with possible new options in env-example
. Refer to Update For more information about how to update the devilbox properly.
The devilbox master branch will always reflect the latest changes. However, no commits are pushed directly to master and everything merged into this branch has to go through various tests to make sure the master branch stays as stable as it can get.
The master branch ties each Docker container to their latest
Docker tags. That means you can regularily docker-compose pull
in order to obtain updated Docker container.
Note: Always do git pull origin master
and docker-compose pull
together. Do not just do one of them.
For the installation routine, there is nothing else to do here. After cloning you are automatically on the master branch. There are however a few things to pay attention to when updating the master branch. Refer to Update For more information about how to update the devilbox properly.