Difference between revisions of "Docker-compose pull"
Jump to navigation
Jump to search
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
https://docs.docker.com/compose/reference/pull/ | https://docs.docker.com/compose/reference/pull/ | ||
* <code>[[docker-compose pull]] SERVICE_NAME</code> or <code>docker-compose pull</code> | * <code>[[docker-compose pull]] SERVICE_NAME</code> or <code>docker-compose pull</code> | ||
+ | ** <code>docker-compose pull</code> | ||
** <code>docker-compose --verbose pull</code> | ** <code>docker-compose --verbose pull</code> | ||
+ | |||
+ | |||
+ | * <code>[[docker-compose down]] && [[docker-compose build]] --pull && [[docker-compose up -d]]</code> | ||
+ | |||
+ | |||
+ | docker-compose pull --help | ||
+ | Pulls [[images]] for services defined in a Compose file, but does not start the containers. | ||
+ | |||
+ | Usage: pull [options] [--] [SERVICE...] | ||
+ | |||
+ | Options: | ||
+ | --ignore-pull-failures Pull what it can and ignores images with pull failures. | ||
+ | --parallel Deprecated, pull multiple images in parallel (enabled by default). | ||
+ | --no-parallel Disable parallel pulling. | ||
+ | -q, --quiet Pull without printing progress information | ||
+ | --include-deps Also pull services declared as dependencies | ||
+ | |||
+ | |||
== Examples == | == Examples == | ||
* Upgrade [[images]] to latest version: <code>docker compose pull && [[docker-compose up]] -d</code> | * Upgrade [[images]] to latest version: <code>docker compose pull && [[docker-compose up]] -d</code> | ||
− | == Related | + | == Related == |
* <code>[[docker pull]]</code> | * <code>[[docker pull]]</code> | ||
* {{Docker-compose operations}} | * {{Docker-compose operations}} | ||
* <code>[[docker-compose push]]</code> | * <code>[[docker-compose push]]</code> | ||
+ | * <code>[[docker-compose rm]]</code> | ||
+ | * [[Mediawiki official docker-compose example]] | ||
== See also == | == See also == |
Latest revision as of 15:09, 13 January 2023
https://docs.docker.com/compose/reference/pull/
docker-compose pull SERVICE_NAME
ordocker-compose pull
docker-compose pull
docker-compose --verbose pull
docker-compose down && docker-compose build --pull && docker-compose up -d
docker-compose pull --help Pulls images for services defined in a Compose file, but does not start the containers. Usage: pull [options] [--] [SERVICE...] Options: --ignore-pull-failures Pull what it can and ignores images with pull failures. --parallel Deprecated, pull multiple images in parallel (enabled by default). --no-parallel Disable parallel pulling. -q, --quiet Pull without printing progress information --include-deps Also pull services declared as dependencies
Examples[edit]
- Upgrade images to latest version:
docker compose pull && docker-compose up -d
Related[edit]
docker pull
docker-compose
: [start
|stop
|restart
|pull
|up
|down
|ps
]docker-compose push
docker-compose rm
- Mediawiki official docker-compose example
See also[edit]
docker-compose
,docker-compose.yml
: [services
|volumes
|networks
|up
|down
|restart
|logs
|create
|changelog
|version
|secrets
|config
|-v
|-h
|exec], docker-compose pull
,Environment:
, Docker-compose.yml examples,.env
, release notes, expose:, docker-compose --env-file,services.deploy.resources
Advertising: