I’m confused on how this is supposed to work; it works in other environments but not for the EC2 instance I just built.
Below is my docker-registry.yaml file
I run the following on the EC2 instance
docker run -d -p 5000:5000 --restart=always --name registry -v /home/ubuntu/my-registry-config.yaml registry:2
But I’m unable to query or pull an image despite the fact I can see them on the S3 bucket.
curl -X GET http://localhost:5000/v2/_catalog
{“repositories”:}
I feel like I’m missing a step; like somehow I’m not populating the local repository.
version: 0.1 log: fields: service: registry storage: s3: accesskey: XXXXXXXXXXXXXXXXXXXXXXX secretkey: YYYYYYYYYYYYYYYYYYYYYYYYY region: us-west-1 bucket: my-docker-registry secure: true v4auth: true chunksize: 5242880 cache: blobdescriptor: inmemory maintenance: uploadpurging: enabled: true age: 168h interval: 24h dryrun: false http: addr: :5000 headers: X-Content-Type-Options: [nosniff] health: storagedriver: enabled: true interval: 10s threshold: 3