By daviddo
Hi, I would like to “emulate” a Digital Ocean Ubuntu droplet in my Mac (iOS) locally. Does Digital Ocean have an image (or a Dockerfile to create one) that is exactly the same as the one in the droplet? That’s my question, if you need more details about it, there you have:
I know that Amazon has something similar (https://aws.amazon.com/amazon-linux-ami/), so I guess that maybe DO have its own too. Thank you.
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!
Accepted Answer
Hey friend,
Great question! We don’t have one, but our images are basically just this: https://cloud-images.ubuntu.com/
That said, I’d like to focus more on the reasons for doing it, as I think there may be a better path.
Making MySQL start on boot should be just something like this:
systemctl enable mysql
That enables the service to start on boot. No need to test it, as it will work unless another circumstance exists that needs your manual intervention, such as a corrupted database. There’s really no good way to automate that specific scenario that doesn’t put you at greater risk.
Jarland
Hello Jarland, Thank you for your answer! Just a follow up, please: is it possible to boot the droplet from the console, to test this mySQL at boot, anyway? Thanks.
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.