Skip to content
Discussion options

You must be logged in to vote

This question implies you're not using an image tag, that is bad.

You want to make this clear by using an image tag, especially since major versions have breaking changes and if you pull a newer major version accidentally (or on a new system) you might experience breakage with a config that previously worked fine.

So include the version you want/use as the tag: mailserver/docker-mailserver:13.1


How can I get the current DMS version?

# On a running container:
$ docker inspect --format '{{ index .Config.Labels "org.opencontainers.image.version"}}' container_name
v13.1.0

# On the image (optionally with tag):
$ docker inspect --format '{{ index .Config.Labels "org.opencontainers.image.ver…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by polarathene
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants