Giter VIP home page Giter VIP logo

Comments (5)

carkod avatar carkod commented on June 16, 2024

@bethcollins92 I used this solution to work around it. It's not great, but it is a VM, so I think it should be fine

from dotrun.

barrymcgee avatar barrymcgee commented on June 16, 2024

@carkod So I recreated my Multipass instance using 18.04 and ran through all the setup steps again, this time installing docker-machine using curl instead of via a snap - but still hit the same error when running dotrun in the root of ubuntu.com

Screenshot 2020-09-10 at 11 10 55

As a wider point, we seem to be now in a place having moved from ./run to dotrun where this repo can only be easily run locally by developers running Linux. The README does not even explicit state that in the Getting Started.

from dotrun.

carkod avatar carkod commented on June 16, 2024

@carkod So I recreated my Multipass instance using 18.04 and ran through all the setup steps again, this time installing docker-machine using curl instead of via a snap - but still hit the same error when running dotrun in the root of ubuntu.com

Screenshot 2020-09-10 at 11 10 55

As a wider point, we seem to be now in a place having moved from ./run to dotrun where this repo can only be easily run locally by developers running Linux. The README does not even explicit state that in the Getting Started.

Ok. But that is something else. Did you guys manage to install docker-compose with the workaround I provided? If docker-compose is installed, check with docker-compose --version. Then please do docker-compose up -d in the ubuntu.com project folder and after that, dotrun.

This issue with docker-compose is only going to happen with ubuntu.com project. Other projects don't need a database, so you don't even need docker-compose

from dotrun.

barrymcgee avatar barrymcgee commented on June 16, 2024

Did you guys manage to install docker-compose with the workaround I provided?

No, your link was to install docker-machine, not docker-compose.

I setup a new multipass instance again, and installed docker-compose using cURL.

Running docker-compose up -d still throws an error.

docker-compose --version
docker-compose version 1.27.0, build 980ec85b
ubuntu@ubuntu:~/code/ubuntu.com$ docker-compose up -d
Traceback (most recent call last):
  File "urllib3/connectionpool.py", line 677, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1252, in request
  File "http/client.py", line 1298, in _send_request
  File "http/client.py", line 1247, in endheaders
  File "http/client.py", line 1026, in _send_output
  File "http/client.py", line 966, in send
  File "docker/transport/unixconn.py", line 43, in connect
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests/adapters.py", line 449, in send
  File "urllib3/connectionpool.py", line 727, in urlopen
  File "urllib3/util/retry.py", line 403, in increment
  File "urllib3/packages/six.py", line 734, in reraise
  File "urllib3/connectionpool.py", line 677, in urlopen
  File "urllib3/connectionpool.py", line 392, in _make_request
  File "http/client.py", line 1252, in request
  File "http/client.py", line 1298, in _send_request
  File "http/client.py", line 1247, in endheaders
  File "http/client.py", line 1026, in _send_output
  File "http/client.py", line 966, in send
  File "docker/transport/unixconn.py", line 43, in connect
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "docker/api/client.py", line 205, in _retrieve_server_version
  File "docker/api/daemon.py", line 181, in version
  File "docker/utils/decorators.py", line 46, in inner
  File "docker/api/client.py", line 228, in _get
  File "requests/sessions.py", line 543, in get
  File "requests/sessions.py", line 530, in request
  File "requests/sessions.py", line 643, in send
  File "requests/adapters.py", line 498, in send
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "bin/docker-compose", line 3, in <module>
  File "compose/cli/main.py", line 67, in main
  File "compose/cli/main.py", line 123, in perform_command
  File "compose/cli/command.py", line 69, in project_from_options
  File "compose/cli/command.py", line 132, in get_project
  File "compose/cli/docker_client.py", line 43, in get_client
  File "compose/cli/docker_client.py", line 170, in docker_client
  File "docker/api/client.py", line 188, in __init__
  File "docker/api/client.py", line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
[4119] Failed to execute script docker-compose
ubuntu@ubuntu:~/code/ubuntu.com$ 

from dotrun.

bethcollins92 avatar bethcollins92 commented on June 16, 2024

Fran fixed this for MacOS in the maintenance sprint

from dotrun.

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.