CentOS 9 bash: docker-compose: command not foundの対処方法

環境
CentOS Stream release 9
Docker 20.10.18

エラー現象
# docker-compose –version
bash: docker-compose: command not found…

解決対策

# sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

docker-composeの再度確認

# docker-compose --version
Docker Compose version v2.11.2

 

CentOS Stream 9

Posted by arkgame