sse450 Posted April 30, 2018 Share Posted April 30, 2018 (edited) I have a user script. I would like to run it after a docker container starts. It doesn't work if I schedule it "At startup of array", as the script tries to run before the container starts. What is the best way to run a script after a specific docker container starts? Thanks. Edited April 30, 2018 by sse450 Quote Link to comment
hernandito Posted May 8, 2018 Share Posted May 8, 2018 How often are you restarting the docker that you need this? Also what is the actual thing you are trying to do? I would created a bash file in the app data stored folder so it survives re-installs. I then created a file like attached with a variety of command that I want to execute on some of my containers. You would still need to use the command line to execute the menu script. im sure there are other ways to do what you want as well. menu Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.