Add Docker environment checks in various API server client scripts#3
Add Docker environment checks in various API server client scripts#3jogarcia-whoi wants to merge 1 commit into
Conversation
… run outside Docker container(s).
|
Seems like a partial fix.
|
To answer point 1): I haven't found any documentation stating that |
Hi, everyone. I found some ways for a script to check if it's running inside a Docker container. I've implemented one of the methods in admin-tools/misc/getCruiseId.py. If you're satisfied with that approach, I'll apply it to a couple of other scripts that have the same need (admin-tools/misc/getLoweringId.py and admin-tools/sealog_postdive.sh).