Giter VIP home page Giter VIP logo

Comments (9)

louislxw avatar louislxw commented on September 12, 2024 41

Louis,
I am running into the same issue, did you find a fix ? can you share ?
Mario.

Hi Mario,

I followed the instructions carefully twice and solved the previous issue.
I guess you were able to install docker with no issue. Be careful with the 2nd step "Ensure your linux user is in the group docker" (https://docs.docker.com/install/linux/linux-postinstall/). Specifically, verify that you can run the following command without sudo
$ docker run hello-world

Regards,
Louis

from vitis-ai.

rmsys avatar rmsys commented on September 12, 2024 14

I know this post is old but maybe help somebody.

if you try:

ubuntu@ip:/$ docker run hello-world
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/cont.

so, update permission:
ubuntu@ip:/$ sudo chmod 666 /var/run/docker.sock

from vitis-ai.

mo979 avatar mo979 commented on September 12, 2024 6

I met the problem and added sudo before the shell command. Then it ran successfully.

from vitis-ai.

hanxue avatar hanxue commented on September 12, 2024 1

@rmsys good workaround. Changing the permissions of /var/run/docker.sock by hand will only fix the problem temporarily. The permissions of /var/run/docker.sock will be reset when the Docker daemon is next reset.

A more permanent solution is to create the docker group on your host machine and add the users running docker to the docker group per https://docs.docker.com/install/linux/linux-postinstall/

from vitis-ai.

gregpalaci avatar gregpalaci commented on September 12, 2024 1

docker/for-mac#6531 (comment)

I was running into this on v4.14.x, v4.15.0, and v14.16.2 -- ended up identifying the following fix:

Check your ~/.docker/config.json file for a currentContext key. e.g. "currentContext": "desktop-linux"

In my case, removing currentContext from config.json did the trick!

from vitis-ai.

AlbertaBeef avatar AlbertaBeef commented on September 12, 2024

Louis,
I am running into the same issue, did you find a fix ? can you share ?
Mario.

from vitis-ai.

AlbertaBeef avatar AlbertaBeef commented on September 12, 2024

Thank you Louis, that fixed the issue.

from vitis-ai.

tan24012 avatar tan24012 commented on September 12, 2024

aa
Makefile.zip

from vitis-ai.

GrabbenD avatar GrabbenD commented on September 12, 2024

I solved this by:

$ sudo usermod -G docker -a $USER
$ sudo service docker start # Or to persist: $ sudo systemctl enable docker --now

from vitis-ai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.