Docker

docker May 31, 2020

Common Docker Commands

Building a Docker Image

Format:

docker build -t [image name]:[tag] [path name]

Example:

docker build -t registry.gitlab.com/firsttiger/mattermost-docker:5.16.3 .

Pushing a Docker Image

Format:

docker push [image name]:[tag]

Example

docker push registry.gitlab.com/firsttiger/mattermost-docker:5.16.3

Tags

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.