

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 5
click for more info
Not enough gems
Cost: 6 gems
1: Publishing to Docker Hub
incomplete
2: Publishing to Docker Hub
incomplete
3: Delete and Pull
incomplete
4: Tags
incomplete
5: Latest
incomplete
6: The Bigger Picture
incomplete
This lesson's interactive features are locked, please to keep using them
Let's publish a new version of our web server. With Docker, a tag is a label that you can assign to a specific version of an image, similar to a tag in Git.
The latest tag is the default tag that Docker uses when you don't specify one. It's a convention to use latest for the most recent version of an image, but it's also common to include other tags, often semantic versioning tags like 0.1.0, 0.2.0, etc.
Publishing new versions of Docker images is a very common method of deploying cloud-native back-end servers. Here's a diagram describing the deployment pipeline of many production systems (including the server that powers the Boot.dev site you're on currently).
<p> Hello from Docker! I'm a Go server. </p><p> Hi Docker, I pushed a new version. </p>docker build . -t USERNAME/goserver:0.2.0
docker run -p 8991:8991 USERNAME/goserver:0.2.0
docker push USERNAME/goserver:0.2.0
docker pull USERNAME/goserver:0.2.0
docker run -p 8991:8991 USERNAME/goserver:0.2.0
With the container running, run and submit the CLI tests.