Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble with "docker-compose up -d" command on windows platform #107

Open
mkortus1 opened this issue Dec 5, 2022 · 1 comment
Open

Trouble with "docker-compose up -d" command on windows platform #107

mkortus1 opened this issue Dec 5, 2022 · 1 comment

Comments

@mkortus1
Copy link

mkortus1 commented Dec 5, 2022

After launch this command I got this message:
2 errors occurred:
* Status: image operating system "linux" cannot be used on this platform, Code: 1
* Status: image operating system "linux" cannot be used on this platform, Code: 1
Could you help with this issue?
Thank you.
Miroslav

@uilianries
Copy link
Member

Hello @mkortus1 . On Windows, Docker client can run Linux and Windows containers, but they are not compatible and can not be runned at same time. Your client is configured to run Windows containers, that's why you are having that error. You need to open your Docker client and switch to Linux containers. Usually there is a shortcut on the Docker icon on menu bar tray, close to the clock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants