I have had docker/docker-compose installed on Ubuntu from an age ago.
I had trouble running a newer docker image, and there was suggestion to upgrade docker-compose.
I have no recollection of how I installed docker/docker-compose – it was not listed in apt. And so I had no idea how to update it.
So rushed ahead and installed Docker Desktop, hoping it would replace the original versions. I believe I now have my system in a bit of state, where my images stall.
This is what I get for the vesions:
$ docker compose version
Docker Compose version v2.29.1-desktop.1
$ docker --version
Docker version 27.1.2, build d01f264
$ docker-compose --version
docker-compose version 1.29.1, build c34c88b2
When I start Docker Desktop from the Ubuntu menu, it errors – I don’t know how to get the error message. If I run systemctl --user start docker-desktop
I get no output. sudo service docker status
reports its is “active”.
If I run docker version
, it hangs but when I ctrl-c it then spits out…
^CClient: Docker Engine - Community
Version: 27.1.2
API version: 1.46
Go version: go1.21.13
Git commit: d01f264
Built: Mon Aug 12 11:50:54 2024
OS/Arch: linux/amd64
Context: desktop-linux
I would normally run this command to start my container:
docker-compose --file docker-compose.yaml up -d --build
This errors. If I try with docker compose
it hangs.
If I run docker image ls
it also hangs.
There are so many details here I’m unsure where to start looking for a problem (I am far from fluent with docker.)