Difference between revisions of "Docker pull"
Jump to navigation
Jump to search
↑ https://docs.docker.com/engine/reference/commandline/pull/
↑ https://hub.docker.com/r/zabbix/zabbix-agent/
Tags: Mobile web edit, Mobile edit |
|||
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | <code>[[docker]] pull</code><ref>https://docs.docker.com/engine/reference/commandline/pull/</ref> | + | <code>[[docker]] pull</code><ref>https://docs.docker.com/engine/reference/commandline/pull/</ref> pull/download an [[image]] or a [[repository]] from a [[registry]] |
* <code>docker pull <image>:<tag></code> | * <code>docker pull <image>:<tag></code> | ||
docker pull -q golang:latest | docker pull -q golang:latest | ||
− | --quiet | + | [[docker pull --quiet]] |
== Examples == | == Examples == | ||
− | + | * <code>[[docker pull alpine]]</code> | |
* <code>[[docker]] pull docker.elastic.co/[[kibana]]/kibana:7.5.1</code> | * <code>[[docker]] pull docker.elastic.co/[[kibana]]/kibana:7.5.1</code> | ||
* <code> docker pull [[zabbix]]/zabbix-agent<ref>https://hub.docker.com/r/zabbix/zabbix-agent/</ref></code> | * <code> docker pull [[zabbix]]/zabbix-agent<ref>https://hub.docker.com/r/zabbix/zabbix-agent/</ref></code> | ||
Line 13: | Line 13: | ||
* <code>[[docker pull --all-tags]] fedora</code> | * <code>[[docker pull --all-tags]] fedora</code> | ||
* <code>[[docker pull gitlab]]/gitlab-ee</code> | * <code>[[docker pull gitlab]]/gitlab-ee</code> | ||
+ | * <code>[[docker pull nats]]</code> | ||
* <code>[[docker]] pull opensearchproject/[[opensearch]]:latest</code> | * <code>[[docker]] pull opensearchproject/[[opensearch]]:latest</code> | ||
* <code>[[docker]] pull opensearchproject/opensearch-dashboards:latest</code> | * <code>[[docker]] pull opensearchproject/opensearch-dashboards:latest</code> | ||
* <code>docker pull jenkins/jenkins:lts-jdk11</code> | * <code>docker pull jenkins/jenkins:lts-jdk11</code> | ||
+ | * <code>docker pull myregistry.domain.com/my-ubuntu</code> | ||
+ | * <code>docker pull eu.gcr.io/your-project/your-repo:your-tag</code> | ||
+ | * <code>[[docker pull --platform]]</code> | ||
docker pull grafana/grafana | docker pull grafana/grafana | ||
Line 24: | Line 28: | ||
docker.io/grafana/grafana:latest | docker.io/grafana/grafana:latest | ||
− | |||
Line 41: | Line 44: | ||
docker pull jenkins/jenkins:lts-jdk11 | docker pull jenkins/jenkins:lts-jdk11 | ||
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. [[Is the docker daemon running?]] | Cannot connect to the Docker daemon at unix:///var/run/docker.sock. [[Is the docker daemon running?]] | ||
+ | |||
+ | [[Invalid reference format: repository name must be lowercase]] | ||
== Related commands == | == Related commands == | ||
Line 49: | Line 54: | ||
* <code>[[docker inspect]]</code> | * <code>[[docker inspect]]</code> | ||
* <code>[[docker image pull]]</code> | * <code>[[docker image pull]]</code> | ||
− | * <code>[[docker registry]] | + | * <code>[[docker registry ls]]</code> (only available on [[Docker Enterprise Edition]]) |
* <code>[[docker image ls]]</code> | * <code>[[docker image ls]]</code> | ||
* <code>[[docker history]]</code> | * <code>[[docker history]]</code> | ||
* <code>[[podman pull]]</code> | * <code>[[podman pull]]</code> | ||
* <code>[[git pull]]</code> | * <code>[[git pull]]</code> | ||
+ | * <code>[[docker build]]</code> | ||
+ | * [[PullPolicy:]] | ||
+ | * [[Pull complete]] | ||
+ | |||
+ | == Activities == | ||
+ | * [[Pull an Image from a Private Registry in Kubernetes]] | ||
== See also == | == See also == | ||
* {{docker cmd}} | * {{docker cmd}} | ||
− | * {{ | + | * {{Registry}} |
[[Category:Docker]] | [[Category:Docker]] |
Latest revision as of 15:46, 2 October 2024
docker pull
[1] pull/download an image or a repository from a registry
docker pull <image>:<tag>
docker pull -q golang:latest docker pull --quiet
Examples[edit]
docker pull alpine
docker pull docker.elastic.co/kibana/kibana:7.5.1
docker pull zabbix/zabbix-agent[2]
docker pull jetbrains/teamcity-agent
docker pull --all-tags fedora
docker pull gitlab/gitlab-ee
docker pull nats
docker pull opensearchproject/opensearch:latest
docker pull opensearchproject/opensearch-dashboards:latest
docker pull jenkins/jenkins:lts-jdk11
docker pull myregistry.domain.com/my-ubuntu
docker pull eu.gcr.io/your-project/your-repo:your-tag
docker pull --platform
docker pull grafana/grafana Using default tag: latest latest: Pulling from grafana/grafana Digest: sha256:b409a69218ca5990b61e33fe00121c94b2f9b5a7ec2f3118c703454c26067020 Status: Image is up to date for grafana/grafana:latest docker.io/grafana/grafana:latest
Examples with errros[edit]
docker pull imagenotfound Using default tag: latest Error response from daemon: pull access denied for imagenotfound, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
docker pull docker.elastic.co/logstash/logstash Using default tag: latest Error response from daemon: manifest for docker.elastic.co/logstash/logstash:latest not found: manifest unknown: manifest unknown
docker pull jenkins/jenkins:lts-jdk11 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Invalid reference format: repository name must be lowercase
Related commands[edit]
docker push
docker run
docker login
docker-compose pull
docker inspect
docker image pull
docker registry ls
(only available on Docker Enterprise Edition)docker image ls
docker history
podman pull
git pull
docker build
- PullPolicy:
- Pull complete
Activities[edit]
See also[edit]
docker
[config | pull
|push
|run
|start
, |stop
|cp
|events
|info
|version
|build
|commit
|image
|images
|image ls
|image inspect
|rmi
|rm
|tag
|exec | rename | manifest | save | service update | load
],docker --help
- Registry, Container registry, infrastructure registry, OCI registry, Docker Hub
Advertising: