
Last login: Sat Feb 12 15:03:21 on console
% docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
If you try to execute the Docker run command in Terminal and you get the above error, then it's because Docker Desktop is not running.
Fix:- Go to Spotlight Search,
- Type: Docker and open the App
- You would see it on your Apple Menu bar,
- Make sure you see: "Docker is running"
Make sure docker is running
% docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
93288797bd35: Pull complete
Digest: sha256:97a379f4f88575512824f3b352bc03cd75e239179eea0fecc38e597b2209f49a
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
More Posts related to Docker,
- [Fix] Docker Error response from daemon: manifest for :latest not found: manifest unknown
- How to check installed docker version command
- Unable to find image docker latest locally
- [fix] Cannot connect to the Docker daemon at unix:var/run/docker.sock. Is the docker daemon running?
- Open Docker Desktop from macOS Terminal
- How to Stop/Cancel/kill docker image pull
- How to know docker Engine details
- How to know list of images available on your device
- Install the minimal Linux on Docker (only 5 mb Alpine Linux)
More Posts:
- List of Java versions - Java
- Installing Native Chrome Browser App on M1 Mac Device - Chrome
- Audio Video Network protocols supported by Android OS Devices - Android
- [Notepad++] Remove CR Carriage Return and LF Line feed (CRLF) - NotepadPlusPlus
- auth_client_using_bad_version_title : Error Android Lint - Android
- Ubuntu zsh: command not found: nano - zsh
- Can we move apps like WhatsApp, Facebook to external MicroSD card - WhatsApp
- MacOS Safari Fullscreen Keyboard Shortcuts - MacOS