I am new to docker and I have inherited a set up that I have to maintain. The instructions left by the person who quit say to first do a docker run, then remove a lock file, start a database server, and finally run a python script.
I want to set it up so that all that happens when the machine boots. I’ve read about the the --restart flag on Docker run, and I have these questions:
-would specifying that cause the container to start at boot time?
-if so, how does that work - i.e. where is the flag stored so it knows to restart at boot?
-if not, how can I start it at boot?
-I would guess that only starts the container. How would I start everything at boot?