How to run private container from container registry in my droplet with docker

Hi! I have an image in container registry in DO. Also i have a droplet with setup docker. I need run an image from container registry in my droplet.

Now im trying do like this:

docker run -v ${PWD}:/app -v /app/node_modules -p 4201:4200 --rm --name image_name Unable to find image ‘’ locally docker: Error response from daemon: Get unauthorized: authentication required.


Submit an 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.

To interact with your registry using the docker command-line interface (CLI), you’ll need to first configure docker using the DigitalOcean command-line tool, doctl. Install doctl and authenticate it with an API token.

Then, call the following command:

doctl registry login Copy This command adds credentials to docker so that pull and push commands to your DigitalOcean registry will be authenticated.