Skip to content

ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running? #17

Closed

Description

@Riyenz

I'm setting up the project and following the setup guide. however I bump into an error which is not mentioned on the documentation and would save time for few seconds of searching on the solution if its already on the setup guide. here's what I encounter when setting up.

image

So basically I need to add sudo on docker-compose to make it work. changing the setup guide from.

git clone [email protected]:appwrite/appwrite.git

cd appwrite

composer update --ignore-platform-reqs --optimize-autoloader --no-dev --no-plugins --no-scripts

npm install

docker-compose up -d

to this.

git clone [email protected]:appwrite/appwrite.git

cd appwrite

composer update --ignore-platform-reqs --optimize-autoloader --no-dev --no-plugins --no-scripts

npm install

docker-compose up -d //or use `sudo docker-compose up -d` if encountered docker error 

Solution reference: docker/compose#4181

Activity

  1. self-assigned this
    on Sep 11, 2019
  2. added
    bug
    on Sep 11, 2019
  3. eldadfux commented on Sep 11, 2019

    @eldadfux
    Member

    Requesting sudo permission by default seems a little bit harsh, I know that I am constantly avoiding from installing tools and softwares the require root permission without any reasonable reason. Also, this seem to be more like a Docker issue rather than an Appwrite one.

    If this seems to hit a lot of developers we will add a note about it in the docs.

  4. added a commit that references this issue on Sep 16, 2026
  5. added 3 commits that reference this issue on Sep 21, 2026
  6. added a commit that references this issue on Sep 24, 2026
  7. added a commit that references this issue on Sep 24, 2026
  8. added a commit that references this issue on Sep 25, 2026
  9. added 4 commits that reference this issue on Sep 25, 2026
  10. added a commit that references this issue on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions