Difference between revisions of "Docker pull"

From wikieduonline
Jump to navigation Jump to search
 
(11 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>
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>
Line 18: Line 19:
 
* <code>docker pull myregistry.domain.com/my-ubuntu</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 eu.gcr.io/your-project/your-repo:your-tag</code>
 +
* <code>[[docker pull --platform]]</code>
  
 
  docker pull grafana/grafana
 
  docker pull grafana/grafana
Line 26: Line 28:
 
  docker.io/grafana/grafana:latest
 
  docker.io/grafana/grafana:latest
  
[[docker pull alpine]]
 
  
  
Line 43: 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 57: Line 60:
 
* <code>[[git pull]]</code>
 
* <code>[[git pull]]</code>
 
* <code>[[docker build]]</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}}
* {{Docker}}
+
* {{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: