2.4 KiB
Start the Devilbox
Congratulations, when you have reached this page everything has been set up and you can now get your hands dirty.
Note
Starting and stopping containers is done via docker-compose
. If you have never worked with it before, have a look at their documentation for an overview, up and stop commands.
Table of Contents
- local
Start all container
If you want all provided services to be available (as defined in docker-compose.yml
), just start them all via:
host> docker-compose up
- If you want to gracefully stop all container, hit
Ctrl + c
- If you want to kill all container, hit
Ctrl + c
twice
Start some container
If you don't require all services to be up and running and let's say just PHP
, HTTPD
and MYSQL
, enter the following command:
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 + c
twice
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.
Open Devilbox intranet
Once docker-compose up
has finished and all or the selected container are up and running, you can visit the Devilbox intranet with your favorite Web browser at http://localhost or http://127.0.0.1.
The Intranet start page will also show you all running and failed containers:
Important
howto_find_docker_toolbox_ip_address
When you are using Docker Toolbox
the 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.
Checklist
- Docker container are started successfully with
docker-compose up
- Intranet is reachable via
http://localhost
,http://127.0.0.1
or Docker Toolbox IP address