Reference - CLI - compose

Back to CLI Commands

Command

./adop compose [<options>] <subcommand>

Used for running Docker Compose related commands.

Options

Option
-m <name> Targets a specific Docker Machine, where <name> is the name of the Docker Machine to target.
-f <path> Specifies an additional override file for Docker Compose, where <path> is the path to the override file (can be specified more than once).
-F <path> Specifies file to use for Docker Compose (in place of default), where <path> is the path to the file (can be specified more than once).
-l <driver> Specifies logging driver, where <driver> is the name of the driver.
-v <driver> Specifies the volume driver, where <driver> is the name of the driver.
-n <name> Specifies the custom network to create (if not present) and use, where <name> is the name of the network.
-i <ip> Specifies the public IP that the proxy will be accessed from (only required when not using Docker Machine), where <ip> is the public proxy IP.

Subcommands

Subcommand
init Initialises ADOP.
init <--without-load> Initialises ADOP without loading the platform.
init <--without-image> Initialises ADOP without pulling the images.
up docker-compose up for ADOP.
gen-certs <path> Generates client certificates for TLS-enabled Machine and copies the certificates to <path> in Jenkins Slave.
<command> Runs ‘docker-compose ’ for ADOP, where <command> is not listed above.
help Prints help information.

Examples [WIP]

./adop compose -m MyDocker init