AIOPs - Docker Registry Troubleshooting
search cancel

AIOPs - Docker Registry Troubleshooting

book

Article ID: 278169

calendar_today

Updated On:

Products

DX Operational Intelligence DX Application Performance Management

Issue/Introduction

The following is a high-list of techniques and suggestions to employ when troubleshooting issues related to the docker registry

Environment

DX AIOps 2x

Resolution

1. Check Firewall settings

If firewall is required / enabled, ensure the following has been set 

### For Docker registry ###

firewall-cmd --permanent --add-port=5000/tcp
firewall-cmd --reload

VERIFICATION:
firewall-cmd --list-ports

 

2. Check docker registry service is up and running

docker ps | grep registry

Example:

6314bce98acf        registry:2      "/entrypoint.sh /e..."   7 weeks ago         Up 6 weeks          0.0.0.0:5000->5000/tcp   registry 

 

3) Check docker registry log

docker logs <CONTAINER ID>

 

4) Check for images in the registry

curl -X GET http://<docker registry server>:5000/v2/_catalog

or

curl -X GET https://<docker registry server>:5000/v2/_catalog --insecure

{"repositories":[""]}

5) Try to restart docker service

sudo service docker reload

Or 

systemctl restart docker

6) If the docker registry image exist but it is not running, use below command to start the docker registry process

docker container start <CONTAINER ID>

Additional Information

https://knowledge.broadcom.com/external/article/190815/aiops-troubleshooting-common-issues-and.html