You are not logged in.

#1 2021-06-29 19:00:52

nameiwillforget
Member
Registered: 2019-08-10
Posts: 27

Docker-compose can't seem to handle python

I am trying to use docker-compose to install a program,  but it seems to interact badly with python install. The relevant code snippet is down below some similar errors appear afterwards, though I think they arise from the first one.

[a@arch SIMPLE]$ docker-compose up -d         
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.9/http/client.py", line 1253, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1299, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1248, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.9/http/client.py", line 1008, in _send_output
    self.send(msg)
  File "/usr/lib/python3.9/http/client.py", line 948, in send
    self.connect()
  File "/usr/lib/python3.9/site-packages/docker/transport/unixconn.py", line 43, in connect
    sock.connect(self.unix_socket)
FileNotFoundError: [Errno 2] No such file or directory

Any ideas what could cause this?

Offline

#2 2021-08-26 11:12:40

darwinva
Member
Registered: 2021-08-26
Posts: 1

Re: Docker-compose can't seem to handle python

I resolved with the same answer that here: https://bbs.archlinux.org/viewtopic.php?id=263197

sudo systemctl stop docker
sudo systemctl start docker

Does your mistake remain after that?

Last edited by darwinva (2021-08-26 11:30:24)

Offline

Board footer

Powered by FluxBB