Inserting a Docker build tag is not working

Asked

Viewed 60 times

-2

I have a dockerfile in my project using the image below: FROM Maven:3.3-jdk-8 as Builder

When I run the build everything runs perfectly: Docker build -t pun/server:1.0 .

But the problem is that the tag naming does not work, when I run the command "sudo Docker images" my images are created as

https://i.stack.Imgur.com/8VrdD.png

Does anyone know what’s going on?

Thank you.

1 answer

0


Usually this happens when the image build is performed and terminated with some error.

Use the command to generate a tag for your image:

docker tag image-id trocadilho/server:1.0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.