Skip to content

Docker compose 2.0 breaks aliases (compose is now a subcommand of docker)

Just noticed this after updating my system.

  1. So with v2 it's docker compose and not docker-compose https://docs.docker.com/compose/cli-command/

  2. The container names are like koha-koha-1 instead of koha_koha_1 so kshell also needs manual adjustment

I wonder if there is a simple fix to have the aliases work for everyone even on older software versions.

note: check if I get an answer about that here: https://bbs.archlinux.org/viewtopic.php?pid=1995261#p1995261

Edited by Victor Grousset/tuxayo