Docker Community Forums

Share and learn in the Docker community.

Error parsing reference: invalud reference format

Docker newbie here.
I’m trying to follow the examples from the Book “Docker: Up & Running” by Kane.
Unfortunately I’m running into a wall in Chapter 4, where I’m trying to edit the tags on the image that I have previously and successfully created, by running the following command:

$ docker tag example/docker-node-hello:latest ${<myuser>}/docker-node-hello:latest

I replaced my docker account username with

The error I get back is:
Error parsing reference: "/docker-node-hello:latest" is not a valid repository/tag: invalid reference format

Any idea what the issue could be here?

I am using Docker Version:
Client: Docker Engine - Community
Version: 19.03.8
API version: 1.40
Go version: go1.12.17
Git commit: afacb8b
Built: Wed Mar 11 01:21:11 2020
OS/Arch: darwin/amd64
Experimental: false

Server: Docker Engine - Community
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b
  Built:            Wed Mar 11 01:29:16 2020
  OS/Arch:          linux/amd64
  Experimental:     false
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
  Version:          0.18.0
  GitCommit:        fec3683

Thanks in advance,