Open taitep opened 1 year ago
https://docs.docker.com/engine/install/linux-postinstall/ Is good reading on the topic.
in summary, the docker command is failing to connect to the socket, since current user doesn't have enough permissions.
There's a number of ways to resolve this:
Personally, I would work towards being able to run docker ps
from current user, and that requires group/usermod noted on that article. This way, the built aseprite files are also generated as the current user. As the article notes, there are security considerations with this.
Alternatively, you can run docker as sudo, you can accomplish this by editing the Makefile and changing the line docker build
noted last with the prefix sudo docker build
, and it will prompt you for sudo access based on sudoers settings.
And lastly, that article also notes how you can run the docker daemen as a non-root user. I've never personally done this, but it may make sense depending on your use cas.e
Any of the 3 approaches above should resolve your issue.
Good luck!
sudo usermod -a -G docker $USER
Trying to run
make build
I get this errorHow do i fix this? The docker daemon was started with
sudo dockerd
from another terminal window.