The doc says
Make sure you have both docker and docker-compose(>=1.24.0) installed. On Ubuntu, just run
apt install docker-compose docker.io
.
and I have,
$ docker-compose -v
docker-compose version 1.25.0, build unknown
However, I don’t have docker.io, because
The following packages have unmet dependencies:
containerd.io : Conflicts: containerd
Conflicts: runc
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
I am a bit wary about uninstalling containerd and runc, because I have a few other docker containers running on the VPS and I don’t want to break them. What is the difference between docker.io and the regular docker package? Is it why docker-compose throws an error?
OK, I’ve tried on another server with a more recent Ubuntu version, and docker-compose version 1.29.2, and it works. So I guess, the docker-compose version requirement in the documentation needs updating.