diff --git a/_config.yml b/_config.yml index f738d89868..b4700107dd 100644 --- a/_config.yml +++ b/_config.yml @@ -45,7 +45,7 @@ exclude: latest_engine_api_version: "1.41" docker_ce_version: "20.10" compose_v1_version: "1.29.2" -compose_version: "v2.14.2" +compose_version: "v2.15.0" compose_file_v3: "3.9" compose_file_v2: "2.4" machine_version: "0.16.0" diff --git a/_data/compose-cli/docker_compose_pull.yaml b/_data/compose-cli/docker_compose_pull.yaml index a06e8387fe..c07afde137 100644 --- a/_data/compose-cli/docker_compose_pull.yaml +++ b/_data/compose-cli/docker_compose_pull.yaml @@ -7,10 +7,20 @@ usage: docker compose pull [OPTIONS] [SERVICE...] pname: docker compose plink: docker_compose.yaml options: + - option: ignore-buildable + value_type: bool + default_value: "false" + description: Ignore images that can be built. + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false - option: ignore-pull-failures value_type: bool default_value: "false" - description: Pull what it can and ignores images with pull failures + description: Pull what it can and ignores images with pull failures. deprecated: false hidden: false experimental: false @@ -20,7 +30,7 @@ options: - option: include-deps value_type: bool default_value: "false" - description: Also pull services declared as dependencies + description: Also pull services declared as dependencies. deprecated: false hidden: false experimental: false @@ -51,7 +61,7 @@ options: shorthand: q value_type: bool default_value: "false" - description: Pull without printing progress information + description: Pull without printing progress information. deprecated: false hidden: false experimental: false @@ -99,6 +109,9 @@ examples: |- ⠹ 77a0c198cde5 Waiting 9.3s ⠹ c8752d5b785c Waiting 9.3s ``` + + `docker compose pull` will try to pull image for services with a build section. If pull fails, it will let + user know this service image MUST be built. You can skip this by setting `--ignore-buildable` flag deprecated: false experimental: false experimentalcli: false diff --git a/_data/compose-cli/docker_compose_up.yaml b/_data/compose-cli/docker_compose_up.yaml index fd873ef7da..f8ab468e7b 100644 --- a/_data/compose-cli/docker_compose_up.yaml +++ b/_data/compose-cli/docker_compose_up.yaml @@ -6,6 +6,9 @@ long: |- Unless they are already running, this command also starts any linked services. The `docker compose up` command aggregates the output of each container (like `docker compose logs --follow` does). + One can optionally select a subset of services to attach to using `--attach` flag, or exclude some services using + `--no-attach` to prevent output to be flooded by some verbose services. + When the command exits, all containers are stopped. Running `docker compose up --detach` starts the containers in the background and leaves them running. @@ -104,6 +107,16 @@ options: experimentalcli: false kubernetes: false swarm: false + - option: no-attach + value_type: stringArray + default_value: '[]' + description: Don't attach to specified service. + deprecated: false + hidden: false + experimental: false + experimentalcli: false + kubernetes: false + swarm: false - option: no-build value_type: bool default_value: "false"