I like to use the 1-Click Docker image provided by DO, however it is very important to me that I be able to programmatically reproduce infrastructure.
For example, the current version configures a default UFW firewall and installs Docker Compose 1.22.0.
I noticed for example the current version can barely run docker compose on a standard DO droplet because the entropy is too low. Docker has an 8 year old article on this problem here.
It seems like haveged should to be installed by default, or that the documentation on the marketplace item should include a note about why docker-compose might hang on a smaller VPS instance.
There doesn’t seem to be a way to provide feedback on documentation or the current image. The link takes you over to the docker forums in general, which don’t have a meaningful thread about the Digital Ocean image that I can see.
It would be great to use the same recipe offered by DO right now in the image but add the haveged line or any other items. Really, to be explicit about the configuration people should know exactly what the 1-click image is made up of procedurally.
I saw this previous answer from DO Staff recommending the cloning of marketplace images in order to keep a copy of something, but that doesn’t seem like a reasonable way to conduct devops.
Where does DO provide the script used for building these images? How is DO managing versions managed between the scripts? Would you consider making these scripts public and versioned so that people can create issues and pull requests and otherwise understand decisions about what went into them?
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!
Hi there @accounts9dff3738ad014accdd,
Yes, the scripts are actually already open source, you can find the repository here:
https://github.com/digitalocean/droplet-1-clicks
You can open issues and create pull requests.
Regarding cloning the Docker image, personally, I believe that if you want to have full control over the image itself, it is best to have your own copy. Otherwise, you would rely on an image that is not managed by your team, so you would need to anticipate for any unexpected changes by the image vendor.
Regards, Bobby
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.