Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not try to create file shares for non-directories
When creating automatic file shares, ignore any non-directory bind mounts, e.g. for an individual (normal) file or a special type like a Unix socket (`/var/run/docker.sock`). Additionally, there's no need to create a directory if one does not exist, the API will handle that. However, the check for existence remains so that `create_host_path: false` mounts can be ignored. Signed-off-by: Milas Bowman <milas.bowman@docker.com>
- Loading branch information