Deploy your own registry

A registry is an instance of the registry image, and runs within Docker.

# Start registry on port 5000
$ docker run -d \
    -p 5000:5000 \
    -e REGISTRY_HTTP_ADDR=0.0.0.0:5000
    --restart=always \
    --name registry registry:2

Without cert, ups …

# /etc/docker/damon.json
{
  "insecure-registries": ["captain-rhub.de:5000"]
}

Push image to local registry

$ docker tag kuethe/mobyr:0.1 captain-rhub.de:5000/mobyr
$ docker push captain-rhub.de:5000/mobyr