Report this

What is the reason for this report?

Using private docker repo on App Platform

Posted on March 19, 2021

Hi!

We trying to find out is there any way to pull private repository from Docker Hub? Currently can’t find any information in docs.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey!

A quick update here in case that anyone comes across this in the future.

This is now supported on the App Platform:

https://docs.digitalocean.com/products/app-platform/how-to/deploy-from-container-images/#deploy-container-using-the-apps-spec

You can pass your auth details using the registry_credentials arg:

name: front-end
services:
- name: web
  image:
    registry_type: DOCKER_HUB
    registry: example-registry
    repository: example-repo
    registry_credentials: "your_username:2YotnFZFEjr1zCsicMWpAA"
    digest: sha256:1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef

Hope that this helps!

- Bobby

👋 @aaply

We don’t currently support private Docker Hub images. We hope to offer this functionality in the future. We do support DigitalOcean Container Registry which are private.

Hello ,

Currently we don’t support private Docker Hub images on App Platform. Request you to share your thoughts in below link:

https://ideas.digitalocean.com/app-framework-services?selectedCategory=apps

In the meantime, you can avail our DigitalOcean Container Registry to use your private image and deploy it on App Platform:

https://docs.digitalocean.com/products/app-platform/how-to/deploy-from-container-images/ https://docs.digitalocean.com/products/container-registry/

Hope this helps!

Cheers, Sri Charan

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.