By Mark
I have inherited the config on this server. On boot, docker starts fine. I assume from /lib/systemd/system/system/docker.service
I can use systemctl stop docker.service and then docker ps -a and I see its all stoped.
On a reboot all containers are up and running.
I need to know where the file is that tells docker to start all of the containers.
There must be a docker-compose.yml somewhere but I have been unable to find it yet.
Is there a way to find how the containers are getting started? Where the running docker got its config?
Thanks all.
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!
I even executed systemctl disable docker.service, rebooted and docker ps -a is still showing running containers…
I cant kill them. Like zombies.
I actually want to add a docker mssql image but want to know what docker config file to add them to.
I must not be getting something…
Got a little farther, but I am more confused now.
systemctl disable docker.service and systemctl disable docker.socket does stop docker on boot.
So where is docker getting its config to find containers on boot?
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.