Giter VIP home page Giter VIP logo

Comments (6)

harshavardhana avatar harshavardhana commented on August 30, 2024

why do you need sudo? docker can be configured to not run as root.

from mint.

deekoder avatar deekoder commented on August 30, 2024

that was the default behavior on ubuntu. I am sure it can be configured. The error message is also misleading to think that docker is not running.

from mint.

harshavardhana avatar harshavardhana commented on August 30, 2024

that was the default behavior on ubuntu. I am sure it can be configured. The error message is also misleading to think that docker is not running.

Yeah but that is something docker already documents. On how to run docker - we mentioning sudo puts a wrong indication that we need root for some reason. Our server docs for docker don't mention this as well - including swarm etc.

from mint.

deekoder avatar deekoder commented on August 30, 2024
$ docker run -e SERVER_ENDPOINT=play.minio.io:9000 -e ACCESS_KEY=Q3AM3UQ867SPQQA43P2F -e SECRET_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG -e ENABLE_HTTPS=1 minio/mint 
docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host?.
See 'docker run --help'.

is what i got without sudo. New ubuntu installation. ps -ef showed docker is running fine. Without configuration of docker to not run as root etc. Mint could put a note in the readme just to be thorough.

from mint.

harshavardhana avatar harshavardhana commented on August 30, 2024

is what i got without sudo. New ubuntu installation. ps -ef showed docker is running fine. Without configuration of docker to not run as root etc. Mint could put a note in the readme just to be thorough.

My only problem with sudo is that it comes across as mint requires sudo not docker. Docker documents this in their installation guide https://docs.docker.com/engine/installation/linux/linux-postinstall/

https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository

Docker is installed and running. You need to use sudo to run Docker commands. Continue to Linux postinstall to allow non-privileged users to run Docker commands and for other optional configuration steps.

For us it is simply docker run given that you have followed the docker installation guide properly.

from mint.

nitisht avatar nitisht commented on August 30, 2024

I think we can add a link for Docker installation. will send a PR for this.

from mint.

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.