docker_compose_pull.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. command: docker compose pull
  2. short: Pull service images
  3. long: "Pulls an image associated with a service defined in a `compose.yaml` file, but does not start containers based on \nthose images."
  4. usage: docker compose pull [SERVICE...]
  5. pname: docker compose
  6. plink: docker_compose.yaml
  7. options:
  8. - option: ignore-pull-failures
  9. value_type: bool
  10. default_value: "false"
  11. description: Pull what it can and ignores images with pull failures
  12. deprecated: false
  13. experimental: false
  14. experimentalcli: false
  15. kubernetes: false
  16. swarm: false
  17. - option: include-deps
  18. value_type: bool
  19. default_value: "false"
  20. description: Also pull services declared as dependencies
  21. deprecated: false
  22. experimental: false
  23. experimentalcli: false
  24. kubernetes: false
  25. swarm: false
  26. - option: no-parallel
  27. value_type: bool
  28. default_value: "true"
  29. description: DEPRECATED disable parallel pulling.
  30. deprecated: false
  31. experimental: false
  32. experimentalcli: false
  33. kubernetes: false
  34. swarm: false
  35. - option: parallel
  36. value_type: bool
  37. default_value: "true"
  38. description: DEPRECATED pull multiple images in parallel.
  39. deprecated: false
  40. experimental: false
  41. experimentalcli: false
  42. kubernetes: false
  43. swarm: false
  44. - option: quiet
  45. shorthand: q
  46. value_type: bool
  47. default_value: "false"
  48. description: Pull without printing progress information
  49. deprecated: false
  50. experimental: false
  51. experimentalcli: false
  52. kubernetes: false
  53. swarm: false
  54. examples: "suppose you have this `compose.yaml` file from the Quickstart: [Compose and Rails sample](compose/rails/).\n\n```yaml\nservices:\n db:\n image: postgres\n web:\n build: .\n command: bundle exec rails s -p 3000 -b '0.0.0.0'\n volumes:\n - .:/myapp\n ports:\n - \"3000:3000\"\n depends_on:\n - db\n```\n\nIf you run `docker compose pull ServiceName` in the same directory as the `ccompose.yaml` file that defines the service, \nDocker pulls the associated image. For example, to call the postgres image configured as the db service in our example, \nyou would run `docker compose pull db`.\n\n```\n$ docker compose pull db\n[+] Running 1/15\n ⠸ db Pulling 12.4s\n ⠿ 45b42c59be33 Already exists 0.0s\n ⠹ 40adec129f1a Downloading 3.374MB/4.178MB 9.3s\n ⠹ b4c431d00c78 Download complete 9.3s\n ⠹ 2696974e2815 Download complete 9.3s\n ⠹ 564b77596399 Downloading 5.622MB/7.965MB 9.3s\n ⠹ 5044045cf6f2 Downloading 216.7kB/391.1kB 9.3s\n ⠹ d736e67e6ac3 Waiting 9.3s\n ⠹ 390c1c9a5ae4 Waiting 9.3s\n ⠹ c0e62f172284 Waiting 9.3s\n ⠹ ebcdc659c5bf Waiting 9.3s\n ⠹ 29be22cb3acc Waiting 9.3s\n ⠹ f63c47038e66 Waiting 9.3s\n ⠹ 77a0c198cde5 Waiting 9.3s\n ⠹ c8752d5b785c Waiting 9.3s\n``̀"
  55. deprecated: false
  56. experimental: false
  57. experimentalcli: false
  58. kubernetes: false
  59. swarm: false