I have installed docker-ce
, docker-compose
and the docker-compose-plugin
package on Ubuntu 22.04 from the Docker apt repository, following the official instructions, but when I type docker compose
on the command line all I get is this:
docker: 'compose' is not a docker command.
See 'docker --help'
According to docker plugin ls
, no plugin has been installed. Any clues?
Some additional information:
- bash-completion does suggests
compose
as a possible subcommand
- There is a working
docker-compose
executable in /usr/libexec/docker/cli-plugins/
- The output of
dpkg -l | grep docker
is as follows:
ii docker-buildx-plugin 0.10.2-1~ubuntu.22.04~jammy amd64 Docker Buildx cli plugin.
ii docker-ce 5:23.0.1-1~ubuntu.22.04~jammy amd64 Docker: the open-source application container engine
ii docker-ce-cli 5:23.0.1-1~ubuntu.22.04~jammy amd64 Docker CLI: the open-source application container engine
ii docker-ce-rootless-extras 5:23.0.1-1~ubuntu.22.04~jammy amd64 Rootless support for Docker.
ii docker-compose-plugin 2.16.0-1~ubuntu.22.04~jammy amd64 Docker Compose (V2) plugin for the Docker CLI.
ii docker-scan-plugin 0.23.0~ubuntu-jammy amd64 Docker scan cli plugin.