cody-a
8/9/2016 - 3:10 PM

How to rebuild a Docker Image, tag it with a new version, and push it to the registry

How to rebuild a Docker Image, tag it with a new version, and push it to the registry

# Build the image locally
docker build -t docker-registry.lan:5000/ps/pointsui:v4 -t docker-registry.lan:5000/ps/pointsui:latest .

# Push the image to the Docker Repo
docker push docker-registry.lan:5000/ps/pointsui:v4
docker push docker-registry.lan:5000/ps/pointsui:latest