How to deal with `Cannot connect to the Docker daemon at unix: /// var/run/docker.sock. Is the docker daemon running?`

environment

error

If you try to do various things with the docker command,

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

solution

Stop docker and start

$ sudo service docker stop
$ sudo service docker start

Recommended Posts

How to deal with `Cannot connect to the Docker daemon at unix: /// var/run/docker.sock. Is the docker daemon running?`
[Solution] What to do if you get a Docker error'ERROR: Cannot connect to the Docker daemon at unix: ///var/run/docker.sock. Is the docker daemon running?'
Ubuntu on WSL2: Cannot connect to the Docker daemon at unix
How to solve when you cannot connect to DB with a new container because the port is assigned to the existing docker container
[Docker + Rails] How to deal with Rails server startup failure
How to deal with the error ERROR: While executing gem ... (Gem :: FilePermissionError)
When requested access to the resource is denied when pushing with Docker
How to build an environment with Docker, which is the minimum required to start a Rails application
Project facet Java version 13 is not supported. How to deal with
How to start Camunda with Docker
[Win10 Home Docker environment memo (WSL2 or vagrant)] How to deal with the problem that the loading time of localhost is abnormally long
You cannot change the project facet version from a dynamic web module to x.x. How to deal with
[Docker] How to build when the source code is bind-mounted on the container
[Android] How to deal with dark themes
[Rails] How to use rails console with docker
How to deal with Precompiling assets failed.
How to run Blazor (C #) with Docker
How to build Rails 6 environment with Docker
[Laravel] How to deal with out of memory error when composer require [Docker]
How to check the logs in the Docker container
[Swift] How to link the app with Firebase
How to give your image to someone with docker
How to insert all at once with MyBatis
How to use docker compose with NVIDIA Jetson
How to use nginx-ingress-controller with Docker for Mac
[Rails] How to build an environment with Docker
How to deal with the error yaml.scanner.ScannerError: while scanning for the next token that appeared in Rails environment construction with Docker
How to delete the tweet associated with the user when you delete it at the same time
[Rails] [Docker] Copy and paste is OK! How to build a Rails development environment with Docker
[Docker] How to update using a container on Heroku and how to deal with Migrate Error
[Docker] How to see the contents of Volumes. Start a container with root privileges.
How to delete child elements associated with a parent element at the same time
How to change the action with multiple submit buttons
How to connect MySQL / MariaDB + HikariCP with Liferay 7 / DXP
Diet program with preprocessor (how to deal with i-appli size)
How far is the correct answer to divide the process?
How to figure out how much disk Docker is using
How to deal with fatal: remote origin already exists.
How to build docker environment with Gradle for intelliJ
How to deal with No template for interactive request
Organized how to interact with the JDK in stages
[Rails] How to deal with URL changes after render
How to delete untagged images in bulk with Docker
How to make Laravel faster with Docker for Mac
Common problems with WSL and how to deal with them