Open a command console, enter your project directory and execute the following command to install dependencies :
$ composer install
This command requires you to have Composer installed globally, as explained
in the installation chapter
_ of the Composer documentation.
With this application, container can't be started more times.
For add a container, execute the following command :
$ src/app.php container:add name
Application ask you command to create the container (without docker run
and option --name
).
Example : -d -p 1080:80 jderusse/mailcatcher
For list containers, execute the following command :
$ src/app.php container:list
After list it's possible to delete a container.
For question asked, enter 0 for quit or index of container to delete.
For start a container, execute the following command :
$ src/app.php container:start name
For stop a container, execute the following command :
$ src/app.php container:stop name
For get status of container(s), execute the following command :
$ src/app.php container:status [name]
For inspect a container, execute the following command :
$ src/app.php container:inspect name [field]
Argument field
can be :
- ip
- ports
- mac
- image
- all (default)
For view the configuration, execute the following command :
$ src/app.php container:config [name]
- Force download image for container ?
- Use docker-compose
- Unit tests