How to tag docker image with docker-compose

I want to build image via docker-compose and set specific tag to it. Documentation says:

Compose will build and tag it with a generated name, and use that
image thereafter.

But I can’t find a way to specify tag and for built images I always see ‘latest’ tag.

6 Answers
6

Leave a Comment