Difference between revisions of "Docker pull"

From wikieduonline
Jump to navigation Jump to search
 
(54 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{lowercase}}
<code>[[docker pull]]</code>
+
<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>
 +
docker pull -q golang:latest
 +
[[docker pull --quiet]]
 +
 +
== Examples ==
 +
* <code>[[docker pull alpine]]</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 jetbrains/[[teamcity-agent]]</code>
 +
* <code>[[docker pull --all-tags]] fedora</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 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
 +
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 ===
 +
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 ==
 
== Related commands ==
 
* <code>[[docker push]]</code>
 
* <code>[[docker push]]</code>
 +
* <code>[[docker run]]</code>
 +
* <code>[[docker login]]</code>
 
* <code>[[docker-compose pull]]</code>
 
* <code>[[docker-compose pull]]</code>
 +
* <code>[[docker inspect]]</code>
 +
* <code>[[docker image pull]]</code>
 +
* <code>[[docker registry ls]]</code> (only available on [[Docker Enterprise Edition]])
 +
* <code>[[docker image ls]]</code>
 +
* <code>[[docker history]]</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: