Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socket: try removing if socket-location is a directory on Linux #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 10, 2023

  1. socket: try removing if socket-location is a directory on Linux

    Due to race-conditions between containers starting and the Docker
    remote API being up, containers bind-mounting the docker-socket may
    cause the socket-path to be created as a directory.
    
    This patch will attempt to remove the directory in such situations.
    Removing will fail if the directory is not empty.
    
    MacOS does not allow us to detect that the path is a directory, and we'll
    return immediately instead of retrying.
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    b93e89d View commit details
    Browse the repository at this point in the history