Giter Club home page Giter Club logo

Comments (18)

nemchik avatar nemchik commented on May 23, 2024 1

Also BTW the issue template is meant to be filled out. When opening issues please edit the default message that automatically populated in the issue box and fill out your information and use the Preview tab to see that it looks right before submitting. Here is an example:


Describe the bug
I get an error message when trying to run docker-compose up -d

To Reproduce
Steps to reproduce the behavior:

  1. Run bash ~/.docker/main.sh -g
  2. Answer no when asked to run containers now
  3. Run cd ~/.docker/compose
  4. Run docker-compose up -d
  5. See an error message:
couldn't connect to Docker daemon at http+docker://localhost - is it running? If it's at a non-standard location, specify the URL with the DOCKER_Host environment variable

Expected behavior
Containers should start.

Screenshots
(You can remove sections that do not apply, in this case copying the error message covers you better than showing a screenshot)

System (please complete the following information):

  • OS: Ubuntu Desktop x64
  • Version 18.04

from dockstarter.

jmcmike1 avatar jmcmike1 commented on May 23, 2024

when running the 'docker-compose up -d' script I get the following error:
"couldn't connect to Docker daemon at http+docker://localhost - is it running? If it's at a non-standard location, specify the URL with the DOCKER_Host environment variable"
I have followed you setup with no exceptions so far.

from dockstarter.

nemchik avatar nemchik commented on May 23, 2024

Please list your OS and version.

This sounds to me like you might not have rebooted when asked to do so?

from dockstarter.

jmcmike1 avatar jmcmike1 commented on May 23, 2024

from dockstarter.

jmcmike1 avatar jmcmike1 commented on May 23, 2024

from dockstarter.

jmcmike1 avatar jmcmike1 commented on May 23, 2024

from dockstarter.

nemchik avatar nemchik commented on May 23, 2024

No problem. Can you post the full log of what happens when you run sudo bash ~/.docker/main.sh -i?

from dockstarter.

jmcmike1 avatar jmcmike1 commented on May 23, 2024

from dockstarter.

nemchik avatar nemchik commented on May 23, 2024

That all looks good to me. Can you try sudo bash ~/.docker/main.sh -g (using sudo with this one as well)

from dockstarter.

nemchik avatar nemchik commented on May 23, 2024

Also, say yes at the prompt to bring up the containers (it will run docker-compose up -d for you)

from dockstarter.

jmcmike1 avatar jmcmike1 commented on May 23, 2024

from dockstarter.

nemchik avatar nemchik commented on May 23, 2024

That looks like it's working. if you use the script and answer yes to running your containers you don't need to run docker-compose up -d manually later. You're up and running.

from dockstarter.

nemchik avatar nemchik commented on May 23, 2024

Also could you try running bash ~/.docker/main.sh -g without sudo?

I think it's only really an issue if you try running docker-compose up -d by itself without sudo. I think the main script works without sudo.

from dockstarter.

jmcmike1 avatar jmcmike1 commented on May 23, 2024

from dockstarter.

nemchik avatar nemchik commented on May 23, 2024

You mean running bash ~/.docker/main.sh -g without sudo gives you the error?

from dockstarter.

jmcmike1 avatar jmcmike1 commented on May 23, 2024

from dockstarter.

jmcmike1 avatar jmcmike1 commented on May 23, 2024

from dockstarter.

nemchik avatar nemchik commented on May 23, 2024

Why don't you join us on gitter https://gitter.im/GhostWriters/DockSTARTer

We might be able to help with scattered issues on there a little better.

from dockstarter.

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.