##Server: OS : Ubuntu 14.01 docker compose
registry:
restart: always
image: registry:2
ports:
- 5000:5000
environment:
REGISTRY_HTTP_TLS_CERTIFICATE: /certs/domain.crt
REGISTRY_HTTP_TLS_KEY: /certs/domain.key
REGISTRY_AUTH: htpasswd
REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
SETTINGS_FLAVOR: s3
AWS_REGION: ap-southeast-2
AWS_BUCKET: mybucket
STORAGE_PATH: /registry
AWS_KEY: somethingkey
AWS_SECRET: somethingsecret
SEARCH_BACKEND: sqlalchemy
volumes:
- /opt/certs:/certs
- /opt/auth:/auth
Response from docker info
Docker info
Containers: 4
Running: 1
Paused: 0
Stopped: 3
Images: 4
Server Version: 1.12.0
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 48
Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: host null bridge overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 3.13.0-74-generic
Operating System: Ubuntu 14.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.954 GiB
Name: hostname-a2a
ID: NCBV:N777:WTP2:UMJN:OVEB:UB6I:WKNU:4Q4U:5UK4:E6O4:HOY6:X4XF
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
127.0.0.0/8
##Client: OS: Mac El Capitan
docker-machine config
--tlsverify --tlscacert="/Users/dverma/.docker/machine/certs/ca.pem"
--tlscert="/Users/dverma/.docker/machine/certs/cert.pem"
--tlskey="/Users/dverma/.docker/machine/certs/key.pem"
-H=tcp://192.168.99.100:2376