Difference between revisions of "Docker pull"

From wikieduonline
Jump to navigation Jump to search
 
(21 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> Pull an [[image]] or a [[repository]] from a [[registry]]
+
<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>
 
* <code> docker pull jetbrains/[[teamcity-agent]]</code>
 
* <code> docker pull jetbrains/[[teamcity-agent]]</code>
* <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-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 22: Line 28:
 
  docker.io/grafana/grafana:latest
 
  docker.io/grafana/grafana:latest
  
docker pull alpine
+
 
Using default tag: latest
 
latest: Pulling from library/alpine
 
cbdbe7a5bc2a: Pull complete
 
Digest: sha256:9a839e63dad54c3a6d1834e29692c8492d93f90c59c978c1ed79109ea4fb9a54
 
Status: Downloaded newer image for alpine:latest
 
docker.io/library/alpine:latest
 
  
  
Line 44: 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 52: Line 54:
 
* <code>[[docker inspect]]</code>
 
* <code>[[docker inspect]]</code>
 
* <code>[[docker image pull]]</code>
 
* <code>[[docker image pull]]</code>
* <code>[[docker registry]] ls</code> (only available on [[Docker Enterprise Edition]])
+
* <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>[[docker build]]</code>
 +
* [[PullPolicy:]]
 +
* [[Pull complete]]
 +
 +
== Activities ==
 +
* [[Pull an Image from a Private Registry in Kubernetes]]
  
 
== See also ==
 
== See also ==
* {{Docker}}
+
* {{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 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]

Activities[edit]

See also[edit]

  • https://docs.docker.com/engine/reference/commandline/pull/
  • https://hub.docker.com/r/zabbix/zabbix-agent/
  • Advertising: