badsequel
badsequel
WWindmill
Created by badsequel on 2/23/2024 in #help
Delay in catching docker exit code in bash script
Nevermind.. The docker metadata is obviously set AFTER the container is finished executing its main process and shut down. Adding a sleep after docker run, or better yet using "docker wait "$containerid" is the trick
6 replies
WWindmill
Created by badsequel on 2/23/2024 in #help
Delay in catching docker exit code in bash script
using a bash script to execute a python script which randomly craps out using sys.exit(1) does not produce what I see with docker above.
6 replies