Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LCOW: fix using wrong shell for healthchecks
As reported in docker/compose#6445, when deploying a Linux container on Windows (LCOW), the daemon made the wrong assumption when deciding which shell to use to execute the healthcheck, looking at the host's platform instead of the container's platform. This patch adds a check for the container's platform when deploying on Windows, and sets the correct shell. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information