Giter Club home page Giter Club logo

Comments (4)

aogrcs avatar aogrcs commented on August 18, 2024 1

Hi,
I restart the computer, it did work! Thanks

from sel4-camkes-l4v-dockerfiles.

LukeMondy avatar LukeMondy commented on August 18, 2024

Hello,

Are you running the containers as root or with sudo? Try running the make commands under your normal user account.

If you are using the root account or sudo because you can't run docker commands from your normal terminal, I would advise adding yourself to the docker group like this:

sudo usermod -aG docker ${your_username}

and then logout and re-log back in. Then you should be able to use docker under your own account.

If this doesn't help, please let me know.

from sel4-camkes-l4v-dockerfiles.

aogrcs avatar aogrcs commented on August 18, 2024

Hi,
Yes, I used sudo. If used make, then I did not have permission.
I tested sudo usermod -aG docker talos then docker logout, it said:

Warning: failed to get default registry endpoint from daemon (Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.38/info: dial unix /var/run/docker.sock: connect: permission denied). Using system default: https://index.docker.io/v1/
Not logged in to https://index.docker.io/v1/

So I did sudo docker logout, it said
Not logged in to https://index.docker.io/v1/

from sel4-camkes-l4v-dockerfiles.

LukeMondy avatar LukeMondy commented on August 18, 2024

Ah, I meant that you should log out of your own account on the computer - or you can reboot the machine.

You should be able to run groups and see docker listed in the output. If you can't, you may still need to reboot your machine.

Once you can see docker in the output of groups command, try running this command:
docker images
If that works, you should be able to use the makefiles without sudo.

from sel4-camkes-l4v-dockerfiles.

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.