Difference between revisions of "Docker-compose pull"

From wikieduonline
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 commands ==
+
== 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 or docker-compose pull
    • docker-compose pull
    • docker-compose --verbose pull



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]

Related[edit]

See also[edit]

Advertising: