Docker LXC does not have docker compose v1 nor v2 #307

Closed
opened 2025-11-20 04:46:36 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @cgarrovillo on GitHub (Jan 6, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Docker LXC

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/docker.sh)"

📝 Provide a clear and concise description of the issue.

This script installs docker without docker compose, neither docker-compose nor docker compose are present.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

run command

run docker-compose

run docker compose

Paste the full error output (if available).

docker-compose is not a command

compose is not a valid docker command

🖼️ Additional context (optional).

No response

Originally created by @cgarrovillo on GitHub (Jan 6, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Docker LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/docker.sh)" ### 📝 Provide a clear and concise description of the issue. This script installs docker without docker compose, neither docker-compose nor docker compose are present. ### ⚙️ What settings are you using? - [X] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. run command run docker-compose run docker compose ### ❌ Paste the full error output (if available). docker-compose is not a command compose is not a valid docker command ### 🖼️ Additional context (optional). _No response_
Author
Owner

@AdamT20054 commented on GitHub (Jan 13, 2025):

@cgarrovillo I must be missing something because I've got the same problem?

@AdamT20054 commented on GitHub (Jan 13, 2025): @cgarrovillo I must be missing something because I've got the same problem?
Author
Owner

@AdamT20054 commented on GitHub (Jan 13, 2025):

PR: https://github.com/community-scripts/ProxmoxVE/issues/847
Commit: 2e88a4fdb7

TLDR; compose is installed automatically. If you're doing docker compose version and getting an error about docker being unknown, switch the terminal back to your LXC

@AdamT20054 commented on GitHub (Jan 13, 2025): PR: https://github.com/community-scripts/ProxmoxVE/issues/847 Commit: https://github.com/dsiebel/ProxmoxVE/commit/2e88a4fdb77f0c5f1916b3095a915824387e41ce TLDR; compose is installed automatically. If you're doing `docker compose version` and getting an error about docker being unknown, switch the terminal back to your LXC
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#307