Docker - Publish

About

How to publish an image to a repository (for now docker hub)

See also: Docker - Continuous integration

Code

docker login
docker build -t yourDockerHubId/imageName:tag .
docker push yourDockerHubId/imageName:tag

Example

For an image name as dockiql and my docker hub id as gerardnico

docker login
docker build -t gerardnico/dockiql:1.0.0 .
docker push yourDockerHubId/imageName:tag

Powered by ComboStrap