docker push error : tag does not exist
You need to add a tag to the image, here is the documentation.
Use it like this docker tag 0e5574283393 domain.com/repo/tag_docker_name:latest
where 0e5574283393 is the image hash
First there is no option -t
for docker push
command
Second assume that you already have a tagged image said repo/your_image:tag
, you should follow the push syntax docker push repo/your_image:tag
, docker host should not be included (in your case domain.com
) unless you want to push the image to a private repository.
A simple way to check whether the image name existed is to use docker images
, which lists all images available on the host, and image name should be the same as displayed in REPOSITORY
column.
Follow this link to check docker documentation
The official usage is below:
docker push < IMAGENAME >:< TAGNAME >