Sign inSign up

joseluisq/alpine-docker-registry

By joseluisq

Updated over 6 years ago

Alpine and Docker Registry v2 x86_64 image. [DEPRECATED]

Image
0

2.0K

joseluisq/alpine-docker-registry repository overview

Deprecation Notice: This project was deprecated. Please use the official Docker Registry Image.


Alpine / Docker Registry Docker Cloud Build Status

Alpine and Docker Registry v2 x86_64 image.

Overview

This image contain Docker Registry v2 binary in the top of Alpine x86_64.

Usage

docker run --rm -it joseluisq/alpine-docker-registry:latest
Dockerfile

You can also use the image as a base for your own Dockerfile:

FROM joseluisq/alpine-docker-registry:latest
Docker Compose / Stack

Below an example using docker-registry as a service:

version: "3.3"

services:
  docker-registry:
    restart: unless-stopped
    image: joseluisq/alpine-docker-registry:latest
    environment:
      # Docker Registry env variables
      - REGISTRY_HTTP_ADDR=0.0.0.0:5000
    ports:
      - "5000:5000"
    volumes:
      - ./config.yml:/etc/docker/registry/config.yml
      - ./.htpasswd:/etc/docker/registry/.htpasswd
    volumes:
      - some_registry_data:/var/lib/registry
    deploy:
      replicas: 1
      update_config:
        parallelism: 1
      restart_policy:
        condition: on-failure
    networks:
    - some_network_net

volumes:
  some_registry_data:

networks:
  some_network_net:
    external:
      name: some_network_net

Configuration

Read to the official documentation at https://docs.docker.com/registry/configuration/

Contributions

Feel free to send some Pull request or issue.

License

MIT license

© 2019 Jose Quintana

Tag summary

Content type

Image

Digest

Size

25.3 MB

Last updated

over 6 years ago

docker pull joseluisq/alpine-docker-registry