Difference between revisions of "Docker-compose pull"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{lc}}
 +
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>
  
== Examples ==
+
 
* Upgrade a container: <code>docker compose pull && docker-compose up -d</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 ==
 +
* 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}}
* [[docker-compose push]]
+
* <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: