3. Start the Devilbox¶
Congratulations, when you have reached this page everything has been set up and you can now get your hands dirty.
Table of Contents
To gain a brief understanding about what is happening under the hood during startup, read ahead or skip directly to: Start all container.
Startup operations with the same configuration are idempotent, thus consecutive startups will not introduce any new changes. The following shows the brief startup steps:
- Docker Compose will automatically pull all necessary Docker images if they do not exist locally.
- Once the HTTPD container start, it will automatically create a Certificate Authority to be used
for https connections and will place it in the
- The HTTPD container will then look for already available projects and create virtual hosts configurations, apply vhost-gen templates as well as CA-signed HTTPS certificates.
- Once the Bind container start, it will create a wildcard DNS zone for the given TLD_SUFFIX
- In case MySQL or PgSQL container start, they will populate itself with their required default databases.
Docker images are only pulled if they do not exist. They are not updated automatically. If you want to update to new Docker images read on: Update the Devilbox.
If you want all provided docker container to be available (as defined in
start them all by not explicitly specifying any image name.
For the first startup, foreground start is recommended to see any errors that might occur:
host> docker-compose up
- If you want to gracefully stop all container, hit
Ctrl + c
- If you want to kill all container, hit
Ctrl + ctwice
If you don’t require all container to be up and running and let’s say just
MYSQL, you must explicitly specify the image names to start:
host> docker-compose up httpd php mysql
- If you want to gracefully stop all started container, hit
Ctrl + c
- If you want to kill all started container, hit
Ctrl + ctwice
host> docker-compose up -d httpd php mysql
- If you want to gracefully stop all container, enter
- If you want to kill all container, enter
- Available container
- Have a look at this page to get an overview about all available container and by what name they have to be specified.
The Intranet start page will also show you all running and failed containers:
- Find Docker Toolbox IP address
- When you are using
Docker Toolboxthe Devilbox web server port will not be available on your host computer. You first have to find out on which IP address the Docker Toolbox machine is serving and use this one instead.