Pack Hosting Panel

Command - docker:compose:up

Hoe werkt het `docker:compose:up` commando

Voor je deze documentatie leest gaan we er vanuit dat je bekend met de docker basics.

Het commando docker:compose:up gebruik je voor het van je docker containers. Je kunt de uitleg van dit commando vinden via hipex docker:compose:up --help. Dit is een wrapper om het standaard commando. Zie ook: https://docs.docker.com/compose/reference/up/.

  Start docker compose service(s).

  docker:compose:up [options] [--] [<services>...]
This command is a wrapper around the default `docker-compose` command. For more information see https://docs.docker.com/compose/reference/up/

For security, simplicity and cleanup purposes, 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 environment, the --build flag is not supported
- All exposed ports must be mapped between 10000-50000

  services                         Services

  -d, --detach                     Detached mode: Run containers in the background, 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 exist, 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)
  -t, --timeout=TIMEOUT            Use this timeout in seconds for container shutdown when attached or when containers are already. Incompatible with -d. running.
  -f, --file=FILE                  Specify an alternate compose file [default: "docker-compose.yml"]
  -p, --project-name=PROJECT-NAME  Specify an alternate project name
  -h, --help                       Display this help message
  -q, --quiet                      Do not output any message
  -V, --version                    Display this application version
      --ansi                       Force ANSI output
      --no-ansi                    Disable ANSI output
  -n, --no-interaction             Do not ask any interactive question
  -v|vv|vvv, --verbose             Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug