Troubleshooting
Troubleshooting Dockreg
Section titled “Troubleshooting Dockreg”If you’re encountering issues with Dockreg, this guide covers common problems and their solutions. For issues not covered here, check our support page or contact us directly.
Login Failures
Section titled “Login Failures”Issue: “Error response from daemon: Get https://myapp.registry.dockreg.com/v2/: unauthorized: authentication required”
Section titled “Issue: “Error response from daemon: Get https://myapp.registry.dockreg.com/v2/: unauthorized: authentication required””This error occurs when Docker cannot authenticate with your registry.
Solutions:
Section titled “Solutions:”- Verify credentials: Ensure your username and password (or API key) are correct. If using an API key, generate a new one from your account settings.
- Check registry URL: Confirm you’re using the correct registry endpoint, e.g.,
myapp.registry.dockreg.com. It should match the one provided in your dashboard. - Network connectivity: Test access to the registry URL with
curl https://myapp.registry.dockreg.com/v2/. If it fails, check your firewall or VPN settings. - Docker login command: Run
docker login myapp.registry.dockreg.comand enter credentials carefully. Avoid special characters in passwords if possible.
If the issue persists, revoke and regenerate your credentials.
Push Errors
Section titled “Push Errors”Issue: “Error response from daemon: push: manifest blob unknown”
Section titled “Issue: “Error response from daemon: push: manifest blob unknown””This typically happens during image pushes due to authentication or configuration problems.
Solutions:
Section titled “Solutions:”- Tag the image correctly: Use the full path:
docker tag myapp:latest myapp.registry.dockreg.com/myorg/myapp:latest. Replacemyorgwith your organization name. - Ensure login: Always run
docker loginbefore pushing. Verify withdocker logoutanddocker loginagain if needed. - Registry permissions: Confirm your account has push access to the registry. Check organization-level permissions in the dashboard.
- Image size limits: For the Starter plan, ensure your image doesn’t exceed storage limits. Use
docker imagesto check sizes and consider multi-stage builds to reduce size. - Retry push: Sometimes transient network issues cause this. Run
docker push myapp.registry.dockreg.com/myorg/myapp:latestagain.
Issue: “denied: requested access to the resource is denied”
Section titled “Issue: “denied: requested access to the resource is denied””Solutions:
Section titled “Solutions:”- Public vs. private: Ensure the repository exists and is private if required. Create it in the dashboard if missing.
- Namespace: Use the correct namespace (e.g.,
/myorg/myapp). Namespaces are case-sensitive.
Storage Limits
Section titled “Storage Limits”Issue: “Error: storage quota exceeded”
Section titled “Issue: “Error: storage quota exceeded””You’ve hit your plan’s storage limit (e.g., 10GB for Starter, 50GB for Team).
Solutions:
Section titled “Solutions:”- Check usage: Log in to your dashboard at https://dockreg.com/dashboard and view storage under “Usage & Billing”.
- Delete unused images: Use the dashboard to remove old tags or images. Alternatively, via CLI:
docker rmi <image-id>locally, then delete remotely if needed. - Upgrade plan: For more storage, upgrade to Team ($8/month) or Enterprise. Visit pricing.
- Extra storage: On Starter/Team, additional storage is $0.05/GB. It auto-charges, but monitor to avoid surprises.
- Optimize images: Compress layers or use tools like
docker-squashto reduce image size before pushing.
General Tips
Section titled “General Tips”- Logs and monitoring: Enable real-time monitoring in your dashboard to track pushes/pulls and spot issues early.
- Vulnerability scanning (Beta): If scans fail, ensure images are pushed successfully first.
- Support: For 24/7 help, use our support channels. Enterprise users get phone support.
If these don’t resolve your issue, provide error logs when contacting support for faster resolution.