Docker Community Forums

Share and learn in the Docker community.

Local registry issue on Ubuntu


#1

I have pushed an image from my PC to my Ubuntu server. The Ubuntu server is running a private local registry. When accessing the registry contents from the browser via: http://unbuntu-server.mycompany.com:5000/v2/_catalog , my image shows up:
|repositories||
|0|“test/springboot-demo”|

When i run the “docker images ls” command on the Ubuntu server, the image is not listed.
Any idea why ?

Local registry was created with this command:
docker run -d
-p 5000:5000
–restart=always
-e STORAGE_PATH=/u00/docker/registry
–name ubuntu-server.mycompany.com
-v /u00/docker/registry:/var/lib/registry
registry:2

Client:
Version: 18.09.0
API version: 1.39
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:48:57 2018
OS/Arch: linux/amd64
Experimental: false

Server: Docker Engine - Community
Engine:
Version: 18.09.0
API version: 1.39 (minimum version 1.12)
Go version: go1.10.4
Git commit: 4d60db4
Built: Wed Nov 7 00:16:44 2018
OS/Arch: linux/amd64
Experimental: false


(Martin Terp) #2

Hi :slight_smile:

This is because “docker images ls” only displayes the images pull’ed to the ubuntu machine.
There is no command to browse the registry.