Remove the old docker-compose binary
If which docker-compose shows something like /usr/local/bin/docker-compose:
sudo rm -f /usr/local/bin/docker-compose
If it’s somewhere else, remove that path instead (but it’s usually /usr/local/bin if it was installed via curl or pip).
---
3️⃣ Create a simple wrapper that forwards docker-compose → docker compose
This way, any script (including bbb-install.sh) that calls docker-compose will actually use the new plugin:
sudo tee /usr/local/bin/docker-compose >/dev/null << 'EOF'
#!/bin/sh
exec docker compose "$@"
EOF
sudo chmod +x /usr/local/bin/docker-compose
Now check:
docker-compose version
You should see something like Docker Compose version v2.x (coming from the plugin), not the old 1.25 client.