Skip to content

docker --context default compose reports unknown docker command: "compose compose" for 2.0.1 but not 2.0.0 #8945

@parity3

Description

@parity3

I'm going to ignore the instructions due to lack of time. Please close this issue immediately if this does not benefit the community. I wasn't able to find this in previous issues which I find very surprising.

After installing 2.0.1 over 2.0.0 (via overwriting ~/.docker/cli-plugins/docker-compose with the release binary), the command: docker --context default compose reports the usage / help text but the bottom says:

unknown docker command: "compose compose"

Ubuntu 20.10 x86_64 5.8.0-63-generic virtualbox-from-windows10
Server version 20.10.8
runc version: v1.0.1-0-g4144b63
Experimental: true

This "unknown docker command" happens for every docker compose command that passes in --context default. It does not happen if I leave out that switch.

If it's user error, the error message needs to speak more truth than accusing me of typing compose twice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions