Update compose-version to 1.24.0

https://github.com/docker/compose/releases/tag/1.24.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-03-28 20:15:56 +01:00
parent 6c66dee2ee
commit 7bbff2a2ee
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
14 changed files with 33 additions and 23 deletions

View File

@ -22,7 +22,7 @@ exclude: ["_scripts", "apidocs/layouts", "Gemfile", "hooks", "index.html", "404.
latest_engine_api_version: "1.39" latest_engine_api_version: "1.39"
docker_ce_version: "18.09" docker_ce_version: "18.09"
docker_ee_version: "18.09" docker_ee_version: "18.09"
compose_version: "1.23.2" compose_version: "1.24.0"
machine_version: "0.16.0" machine_version: "0.16.0"
distribution_version: "2.6" distribution_version: "2.6"
dtr_version: "2.6" dtr_version: "2.6"

View File

@ -22,7 +22,7 @@ url: https://docs.docker.com
latest_engine_api_version: "1.39" latest_engine_api_version: "1.39"
docker_ce_version: "18.09" docker_ce_version: "18.09"
docker_ee_version: "18.09" docker_ee_version: "18.09"
compose_version: "1.23.2" compose_version: "1.24.0"
machine_version: "0.16.0" machine_version: "0.16.0"
distribution_version: "2.6" distribution_version: "2.6"
dtr_version: "2.6" dtr_version: "2.6"

View File

@ -1,5 +1,5 @@
--- ---
description: docker-compose build description: Build or rebuild services.
keywords: fig, composition, compose, docker, orchestration, cli, build keywords: fig, composition, compose, docker, orchestration, cli, build
title: docker-compose build title: docker-compose build
notoc: true notoc: true

View File

@ -5,12 +5,12 @@ title: docker-compose config
notoc: true notoc: true
--- ---
```: ```
Usage: config [options] Usage: config [options]
Options: Options:
--resolve-image-digests Pin image tags to digests. --resolve-image-digests Pin image tags to digests.
-q, --quiet Only validate the configuration do not print anything. -q, --quiet Only validate the configuration, don't print anything.
--services Print the service names, one per line. --services Print the service names, one per line.
--volumes Print the volume names, one per line. --volumes Print the volume names, one per line.
--hash="*" Print the service config hash, one per line. --hash="*" Print the service config hash, one per line.

View File

@ -17,7 +17,7 @@ Stream container events for every container in the project.
With the `--json` flag, a json object is printed one per line with the With the `--json` flag, a json object is printed one per line with the
format: format:
``` ```json
{ {
"time": "2015-11-20T18:01:03.615550", "time": "2015-11-20T18:01:03.615550",
"type": "container", "type": "container",
@ -26,7 +26,7 @@ format:
"service": "web", "service": "web",
"attributes": { "attributes": {
"name": "application_web_1", "name": "application_web_1",
"image": "alpine:edge", "image": "alpine:edge"
} }
} }
``` ```

View File

@ -9,7 +9,7 @@ notoc: true
Usage: images [options] [SERVICE...] Usage: images [options] [SERVICE...]
Options: Options:
-q Only display image IDs -q, --quiet Only display IDs
``` ```
List images used by the created containers. List images used by the created containers.

View File

@ -9,7 +9,8 @@ notoc: true
Usage: kill [options] [SERVICE...] Usage: kill [options] [SERVICE...]
Options: Options:
-s SIGNAL SIGNAL to send to the container. Default signal is SIGKILL. -s SIGNAL SIGNAL to send to the container.
Default signal is SIGKILL.
``` ```
Forces running containers to stop by sending a `SIGKILL` signal. Optionally the Forces running containers to stop by sending a `SIGKILL` signal. Optionally the

View File

@ -10,8 +10,8 @@ Usage: logs [options] [SERVICE...]
Options: Options:
--no-color Produce monochrome output. --no-color Produce monochrome output.
-f, --follow Follow log output -f, --follow Follow log output.
-t, --timestamps Show timestamps -t, --timestamps Show timestamps.
--tail="all" Number of lines to show from the end of the logs --tail="all" Number of lines to show from the end of the logs
for each container. for each container.
``` ```

View File

@ -9,7 +9,10 @@ notoc: true
Usage: ps [options] [SERVICE...] Usage: ps [options] [SERVICE...]
Options: Options:
-q Only display IDs -q, --quiet Only display IDs
--services Display services
--filter KEY=VAL Filter services by a property
-a, --all Show all stopped containers (including those created by the run command)
``` ```
Lists containers. Lists containers.

View File

@ -20,7 +20,7 @@ Pulls an image associated with a service defined in a `docker-compose.yml` or `d
For example, suppose you have this `docker-compose.yml` file from the [Quickstart: Compose and Rails](/compose/rails.md) sample. For example, suppose you have this `docker-compose.yml` file from the [Quickstart: Compose and Rails](/compose/rails.md) sample.
``` ```yaml
version: '2' version: '2'
services: services:
db: db:
@ -38,7 +38,7 @@ services:
If you run `docker-compose pull ServiceName` in the same directory as the `docker-compose.yml` file that defines the service, Docker pulls the associated image. For example, to call the `postgres` image configured as the `db` service in our example, you would run `docker-compose pull db`. If you run `docker-compose pull ServiceName` in the same directory as the `docker-compose.yml` file that defines the service, Docker pulls the associated image. For example, to call the `postgres` image configured as the `db` service in our example, you would run `docker-compose pull db`.
``` ```bash
$ docker-compose pull db $ docker-compose pull db
Pulling db (postgres:latest)... Pulling db (postgres:latest)...
latest: Pulling from library/postgres latest: Pulling from library/postgres

View File

@ -9,7 +9,8 @@ notoc: true
Usage: restart [options] [SERVICE...] Usage: restart [options] [SERVICE...]
Options: Options:
-t, --timeout TIMEOUT Specify a shutdown timeout in seconds. (default: 10) -t, --timeout TIMEOUT Specify a shutdown timeout in seconds.
(default: 10)
``` ```
Restarts all stopped and running services. Restarts all stopped and running services.

View File

@ -11,7 +11,11 @@ notoc: true
of `up` command. of `up` command.
``` ```
Usage: scale [SERVICE=NUM...] Usage: scale [options] [SERVICE=NUM...]
Options:
-t, --timeout TIMEOUT Specify a shutdown timeout in seconds.
(default: 10)
``` ```
Sets the number of containers to run for a service. Sets the number of containers to run for a service.

View File

@ -9,7 +9,8 @@ notoc: true
Usage: stop [options] [SERVICE...] Usage: stop [options] [SERVICE...]
Options: Options:
-t, --timeout TIMEOUT Specify a shutdown timeout in seconds (default: 10). -t, --timeout TIMEOUT Specify a shutdown timeout in seconds.
(default: 10)
``` ```
Stops running containers without removing them. They can be started again with Stops running containers without removing them. They can be started again with