How to build docker image? Getting manifest error

I’m trying to run the command docker build -t abc/def . command and I’m getting the following error:

manifest for abc/def:latest not found: manifest unknown: manifest unknown

I found the command to create the manifest but have no idea how to actually use it. I have created my repository in and the command to push tags fails with the same error. Am I missing something?


Source: StackOverflow