Install Docker Compose in Container-Optimized OS
sudo curl -sSL \
https://github.com/docker/compose/releases/download/v2.23.3/docker-compose-linux-x86_64 \
-o /var/lib/google/docker-compose
sudo chmod o+x /var/lib/google/docker-compose
mkdir -p ~/.docker/cli-plugins
ln -sf /var/lib/google/docker-compose \
~/.docker/cli-plugins/docker-compose
docker compose version
Ref https://serverfault.com/a/1149540