How do you build image with Dockerfile using private registry?
My private Docker registry works fine, but unable to build from images in registry.
Getting error:
Error parsing reference: “FROM my.docker-repo.com:5000/java:8” is not a valid repository/tag: invalid reference format
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
my.docker-repo.com:5000/java 8 d23bdf5b1b1b 8 months ago 643 MB
Docker version:
Client:
Version: 17.03.1-ce
API version: 1.27
Go version: go1.7.5
Git commit: 276fd32
Built: Fri Jun 23 20:13:39 2017
OS/Arch: linux/amd64
Server:
Version: 17.03.1-ce
API version: 1.27 (minimum version 1.12)
Go version: go1.7.5
Git commit: 276fd32
Built: Fri Jun 23 20:13:39 2017
OS/Arch: linux/amd64
Experimental: false