By jasonleach
Can a system without doctl pull an image from a DO registry? If so what is used for the username / password combination? I ask because I’d like to pull using bitbucket pipelines. Thx.
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!
The doctl integration is just a convenience. You can login to the registry without it. To do so, use a DigitalOcean API token for both the username and password:
docker login -u $DO_TOKEN -p $DO_TOKEN registry.digitalocean.com
Additionally, you can retrieve a .docker/config.json file that you can use with Docker using the API directly:
curl -X GET -H "Content-Type: application/json" \
-H "Authorization: Bearer $DO_TOKEN" \
"https://api.digitalocean.com/v2/registry/docker-credentials
See: https://developers.digitalocean.com/documentation/v2/#get-docker-credentials-for-container-registry
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.