Reputation: 544
Overflow! I tried to transfer my docker-compose script from my ubuntu-workstation to my fedora laptop. when hitting
docker-compose up
I get following exception;
[polito@localhost dev]$ docker-compose up
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
[...]
What I tried: After googleing I found: deleting and reinstalling - did not work either.
Any idea how to fix?
Greetings!
Upvotes: 11
Views: 10381
Reputation: 140
Had the same issue on my side. The docker daemon simply wasn't up.
sudo systemctl start docker
fixed it for me
Upvotes: 13
Reputation: 2135
I had a silly issue. I restarted the machine and forgot to check if the docker desktop is running or not. Make sure your docker instance is running. Hope it helps someone like me.
Upvotes: -1
Reputation: 76
Please, follow these steps: https://docs.docker.com/engine/install/linux-postinstall/. It helped me.
Upvotes: 6
Reputation: 544
Meight not be an answer but: I rerolled back to Ubuntu and updated the kernel to work with "Ryzen 5 4500U"
Working fine now, still not knowing why it's not working on fedora :s
Upvotes: 0
Reputation: 736
Please re-install docker-compose
Example:
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
$ docker-compose --version
Upvotes: 0