Difference between revisions of "Docker-compose pull"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* <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 --verbose pull</code> | ** <code>docker-compose --verbose pull</code> | ||
+ | |||
+ | |||
+ | * <code>[[docker-compose down]] && docker-compose build --pull && docker-compose up -d</code> | ||
== Examples == | == Examples == |
Revision as of 10:22, 8 October 2020
https://docs.docker.com/compose/reference/pull/
docker-compose pull SERVICE_NAME
ordocker-compose pull
docker-compose --verbose pull
docker-compose down && docker-compose build --pull && docker-compose up -d
Examples
- Upgrade images to latest version:
docker compose pull && docker-compose up -d
Related commands
docker pull
docker-compose
: [start
|stop
|restart
|pull
|up
|down
|ps
]docker-compose push
See also
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: