Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
docker: 'Compose' is not a docker command.
See 'docker --help'
This is in windows CMD, do I have to it in Docker? How?
Install Docker Compose:
Make sure Docker Compose is installed on your system. If it's not installed, you can download it from the official Docker Compose GitHub repository: Docker Compose Releases.
Add Docker Compose to PATH:
After downloading Docker Compose, make sure its executable is in your system's PATH. You can either add the directory containing the docker-compose executable to your PATH or move the executable to a directory that is already in your PATH.
Restart the Command Prompt:
After making changes to your PATH, restart the Command Prompt to apply the changes.
Verify Installation:
Run the following commands to verify that Docker Compose is installed and recognized:
bash
docker-compose --version
This command should display the version of Docker Compose installed on your system.
Check Docker Version:
Ensure that you have a compatible version of Docker installed on your system. Docker Compose often requires a specific version of Docker to work correctly.
bash
docker --version
Verify that both Docker and Docker Compose are installed and have compatible versions.
After following these steps, you should be able to run Docker Compose commands without encountering the "'Compose' is not a docker command" error.
You don't have to do it in Docker. You're in the right place. Did you restart your pc after installing docker? Do you have Docker Desktop in your start menu?
Thanks for the attempt, but ChatGPT is going to mislead you in a lot of ways a lot of times. I doubt many windows users have bash installed for instance. And if they DO have windows subsystem for linux installed and use it, they probably won't have much trouble with docker.
Also, restarting your command prompt does nothing lmao. Restarting windows will initialize certain things but just restarting the command prompt wouldn't help.
I'm stuck on this part:
"Open up a command prompt and navigate to the location where you extracted the server files.
When your command prompt is in the correct folder"
How do I navigate to a location in the command prompt/put it in the correct folder?
Find and write down the names and location of the folder you want to access.
enter following command.
cd (the folder location, eg, c:\folder\folder loaction\)
hit enter and hope for the best.
'Compose' is not a docker command.
See 'docker --help'
type: Docker compose up
instead Docker Compose Up, just use lowercase, this fixed my problem to get it run
Thanks for catching that! I updated the page to show the lower case letters