Docker pull

From wikieduonline
Jump to navigation Jump to search

docker pull[1] Pull an image or a repository from a registry

  • docker pull <image>:<tag>
docker pull -q golang:latest
--quiet

Examples

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
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


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?

Related commands

See also

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