Command - docker:compose:up
How to use the `docker:compose:up` command
We assume you are already familiar with the docker basics.
docker:compose:up builds, (re)creates, starts, and attaches to containers for a service.
Unless they are already running, this command also starts any linked services. The command acts
as a wrapper around the default command: https://docs.docker.com/compose/reference/up/.
Description: Start docker compose service(s). Usage: docker:compose:up [options] [--] [<services>...] docker:compose:up This command is a wrapper around the default `docker-compose` command. For more information see https://docs.docker.com/compose/reference/up/ For securityundefined simplicity and cleanup purposesundefined the following restrictions are in place: - Bind volumes are only allowed to directories and files with both read and write permissions. And read permissions for the whole path - Orphan containers are always removed with --remove-orphans option - Building containers must be done on a separate environmentundefined the --build flag is not supported - All exposed ports must be mapped between 10000-50000 Arguments: services Services Options: -dundefined --detach Detached mode: Run containers in the backgroundundefined print new container names. Incompatible with --abort-on-container-exit --force-recreate Recreate containers even if their configuration and image haven't changed --no-recreate If containers already existundefined don't recreate them. Incompatible with --force-recreate and -V --no-start Don't start the services after creating them. --abort-on-container-exit Stops all containers if any container was stopped. Incompatible with -d. --scale=SCALE Scale SERVICE to NUM instances. Overrides the `scale` setting in the Compose file if present. (--scale SERVICE=NUM) (multiple values allowed) -tundefined --timeout=TIMEOUT Use this timeout in seconds for container shutdown when attached or when containers are already. Incompatible with -d. running. -fundefined --file=FILE Specify an alternate compose file [default: "docker-compose.yml"] -pundefined --project-name=PROJECT-NAME Specify an alternate project name -hundefined --help Display this help message -qundefined --quiet Do not output any message -Vundefined --version Display this application version --ansi Force ANSI output --no-ansi Disable ANSI output -nundefined --no-interaction Do not ask any interactive question -v|vv|vvvundefined --verbose Increase the verbosity of messages: 1 for normal outputundefined 2 for more verbose output and 3 for debug