Comments (5)
@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.
@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
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 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.comAs a wider point, we seem to be now in a place having moved from
./run
todotrun
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.
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.
Fran fixed this for MacOS in the maintenance sprint
from dotrun.
Related Issues (20)
- Add host mode option
- Cypress run fails
- Docker error about name conflict HOT 3
- Display available commands
- Error about port conflict (when docker container is already running in background) HOT 1
- specs.canonical.com gunicorn.error on M1 HOT 1
- Dockerpy is not pulling the latest image
- Error when setting up dotrun on Mac HOT 3
- Chromium error when using dotrun on ubuntu.com HOT 7
- Change DOTRUN_DOCKER_COMPOSE_ACTIONS so it can be set in .env
- docker-compose doesn't run when running `dotrun -C {directory}`
- utf-8-validate: Command failed (Apple M1) HOT 5
- M1 Mac - multipass error when installing via script HOT 11
- Error with the package django-openid-auth on M1 HOT 12
- The snap is huge HOT 2
- Add update checks
- Can't run multiple instances of the same project with dotrun v2 HOT 2
- Expose all the container ports HOT 1
- Error when passing specific params to `dotrun exec` command
- Ignored commands exit status
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotrun.