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
Docker Daemon command dockerd
not found on latest stable Docker for Mac and Docker Toolbox
#27102
Comments
Thanks for reporting; yes, Docker for Mac should probably print a different message, also, we may need to check if the CLI is on the same "host" as the daemon, and print a different message based on that (as running |
I think on Darwin it should never suggest to run @ltfschoen the daemon runs in a Linux virtual machine, so you do not need to (and cannot) run it manually. It is already running of the whale is in the top bar. |
I have a similar issue. I have installed Docker for Mac via ssh on my machine and tried to run it. Using Any hints are appreciated. Thanks |
@martinm82 could you open an issue for that in the docker for mac issue tracker? https://github.com/docker/for-mac/issues |
I started working on a PR for this, but I was wondering what the message should actually say on darwin? |
I ran into this issue too (and was able to run Once I downloaded it here everything began working for me: |
I am also having tons of issues with this after installing with I guess installing docker with brew is not the way to go!! 😞 😢 |
Its almost 2022 |
@ShlomiRex What is the impetus for trying to run |
I have docker version 20.10.0, build 7287ab3 installed on macOS, and if I run 'docker run hello-world', there's an error message saying: 'docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.' can I ignore it if I'm just planning on using docker and docker-compose? :( |
@paulinechi it means that the docker cli (or docker-compose) is not able to connect to the daemon. This could be if you have Docker Desktop installed, but it's not running. You need the docker daemon (which in the "Docker Desktop" situation is in a VM) running to use docker. |
I'm closing this ticket, because the current behaviour is as expected. I think this was originally opened when the The |
I'm having this exact same issue on the most recent MacOs version (Monterey, Version 12.3.1 (21E258)). I've uninstalled Docker & reinstalled several times, if I run |
@raphaelmatto make sure you don't have a |
@thaJeztah that was it—you're a hero. I forgot I was pointing to a |
Whoop! Glad to hear it helped 🎉 |
hello @thaJeztah i have similar issue docker info : Server: |
thanks everyone |
Hello everyone, Thank you very much for your answers! |
Not directly possible; Linux containers require a Linux kernel, so on macOS, the actual containers (and the (We have considered experimenting with a "fake" |
So, I landed on this issue because I wanted to start the Docker daemon programmatically through my terminal. That way I could run After reviewing the Docker daemon documentation, I thought I needed to use To remedy the situation, you can simply run A bit confusing, but it does clear the daemon errors! |
Description
After installing the latest version of Docker for Mac or the Docker Toolbox, we cannot control the Docker Daemon via the dockerd binary
dockerd
, as the command cannot be found.Steps to reproduce the issue:
6f9534c
(OR Docker for Mac version 1.12.0, build8eab29e
, OR Docker Toolbox v1.12.0)docker -v
to see terminal outputDocker version 1.12.1, build 6f9534c
which docker
to see the following terminal output:/usr/local/bin/docker
docker daemon
subcommand (that was used in previous Docker versions prior to v1.12 to control the Docker Daemon) using the latest Docker executablesudo /usr/local/bin/docker daemon
to be prompted to enter root password and see the following terminal output:Password: 'docker daemon' is not supported on Darwin. Please run 'dockerd' directly
dockerd
binary (as suggested by the latest stable version of Docker in the above terminal output), to see the following terminal output:-bash: dockerd: command not found
sudo bash uninstall.sh
Describe the results you received:
dockerd
command not found after installing latest stable version of Docker for Mac or Docker Toolbox.Describe the results you expected:
dockerd
command should not be available after installing Docker for Mac or Docker Toolbox, then running the olddocker daemon
subcommand on the latest stable version of Docker should not show a terminal output suggesting to the user toPlease run 'dockerd' directly
when that command cannot be found after installing the latest stable version of Docker.dockerd
command should be available after installing Docker for Mac or Docker Toolbox, then thedockerd
command should be found after installing the latest stable version of Docker for Mac or Docker Toolbox.dockerd
command is not supported by Darwin, then it should not suggest to the user toPlease run 'dockerd' directly
in the same terminal output message where it has already stated that it has determined that the user is using Darwin.Please run 'dockerd' directly
in the terminal output is a bug, and the Docker Daemon is no longer controlled by thedockerd
command on Darwin, then a more accurate message should be provided to the user highlighting how they may control the Docker DaemonAdditional information I deem important:
Output of
docker version
:Output of
docker info
:Output of
sw_vers
:Output of
uname -amnprsv
andsw_vers
:The text was updated successfully, but these errors were encountered: