Skip to content

Docker

When starting Docker, I get a 'Permission denied while trying to connect to the Docker daemon' message

If you're having trouble getting Docker to run on your system, you can refer to the Docker documentation for instructions on how to start Docker on macOS, Linux, and Windows 10 and 11.


When starting Docker on Windows, I get a 'Cannot connect to Docker daemon' message

If you're having trouble with permissions on a Windows system, you can refer to the Docker documentation for instructions on how to Understand permission requirements for Windows.


When using mp-test and mp-build, I get a 'Cannot connect to the Docker daemon' message

There are multiple causes for this error; the most common causes and solutions are:

  1. The Docker daemon is not running. Possible solutions are:

  2. The Docker daemon is running, but the socket is not open or accessible. Possible solutions are:

    • Open Docker Desktop application → navigate to Settings in the top right corner (Cog icon) → Advanced (Cogs icon) → make sure "Allow the default Docker socket to be used" is enabled.
    • Ensure permissions to access the Docker daemon socket are enabled: