Run commands on restart
I want to run some commands on restart, that will not run on initial start but all the restarts after that, so how can I do such a thing? cause I dont wanna use Container Start Command, considering it will run initially as well and would require me reconfigure and start from scratch in my current running machines.
2 Replies
make some file on start command and run different commands (the restart command) when the file exists?
tried so many different ways, was able to do that only when I connect with the machine after restart, can't find a way to run it on restart