By aytheta
I have an Ubuntu 18.04 droplet with LEMP stack and my app. I would like to remove mysql and create a custom docker image having the OS, NGINX, PHP and my app.
Is there an easy way to do this without creating from scratch with docker commands?
(Removal of MySQL is so as to dockerize it separately.)
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!
You are very likely to find a container with this configuration at docker hub: https://hub.docker.com/ At Docker Hub, use the search to find a pleasing configuration.
Good idea on separating MySQL. This way you can treat its special needs for data storage.
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.