NOAA-GSL / ExascaleWorkflowSandbox

Other
2 stars 2 forks source link

Container /home volume race condition #70

Closed christopherwharrop-noaa closed 6 months ago

christopherwharrop-noaa commented 6 months ago

The /home volume for the three docker containers (frontend, master, and node) is shared. Additionally, each container populates the contents of /home with ssh keys at startup and also creates bash initialization files. This creates a race condition when the three containers attempt to write to the shared volume, causing random failures of docker compose to bring up the containers.

The compose file and/or containers should be modified such that only one container is populating /home with content at startup time.