By fitumapp
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 registry.digitalocean.com/clustername/imagename Unable to find image ‘registry.digitalocean.com/clustername/imagename:latest’ locally docker: Error response from daemon: Get https://registry.digitalocean.com/v2/clustername/imagename/manifests/latest: unauthorized: authentication required.
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.