PULL an image from Docker Hub

Images can be found on Docker Hub.

https://hub.docker.com/search?q=&type=image

To pull an image from Docker Hub:

(Beneath is an image pushed by me: https://hub.docker.com/r/jorgenlarsen/mariadb10.3 )

$ docker pull jorgenlarsen/mariadb10.3:rpi
rpi: Pulling from jorgenlarsen/mariadb10.3
7d9beb74056b: Pull complete 
0065911503a4: Pull complete 
6fc95aeae22a: Pull complete 
33670cab74ad: Pull complete 
bb72c3042fee: Pull complete 
2edb0a0656bf: Pull complete 
29dd4ac8e019: Pull complete 
26b822061389: Pull complete 
e39bffa165b5: Pull complete 
3b76a31cb887: Pull complete 
0d683f46166a: Pull complete 
Digest: sha256:c3a50f894dcdb0c6402565f5b327f760dbb7c8148dc5e26df485cc258ac6ecec
Status: Downloaded newer image for jorgenlarsen/mariadb10.3:rpi
docker.io/jorgenlarsen/mariadb10.3:rpi

To see images available we can use the terminal or Portainer.

$ docker images
REPOSITORY                 TAG                 IMAGE ID            CREATED             SIZE
jorgenlarsen/mariadb10.3   rpi                 09f38af10d8f        2 weeks ago         316MB
portainer/portainer-ce     latest              5526251cc61f        7 weeks ago         163MB

Or use Portainer:

Please note that images are dependent on:

  • Operative system / version
  • CPU:
    • Intel
    • ARM
    • AMD
    • PPC

Everything SHOULD be tagged accordingly on Docker Hub. Noting: “should”

During the make of the site I have experienced problems by pulling images able to run on RaspBerry Pi.

If you get this message trying to run an image:

standard_init_linux.go:211: exec user process caused “exec format error”

You are sure to have pulled an image not able to run on your system.

To check an image for Operative System and CPU combability use the Docker command:

$ docker inspect IMAGE ID

Look for the text: “Achitechture”

The complete command set can be found here:

https://docs.docker.com/engine/reference/commandline/pull/

Leave a Reply

Your email address will not be published. Required fields are marked *