RandyPatterson / DockerComposeMultiPlatform

Mixed Windows & Linux containers in a single docker-compose file
10 stars 9 forks source link

ERROR: Service 'webtier' failed to build: image operating system "windows" cannot be used on this platform #1

Open NickLydon opened 4 years ago

NickLydon commented 4 years ago

Hi! docker-compose up -d gives me the error mentioned in the title. I'm running:

Have I missed a setting or has something changed in one of these components?

NickLydon commented 4 years ago

OK, I went 1 step forward and 2 steps backward. I needed to switch to windows containers first and then enable experimental features. I think I was also using the wrong setting - the UI has changed since your blog posts and there's a json file that has to be edited, rather than a simple toggle.

Unfortunately now I'm at this issue, and rolling back the docker desktop version as suggested doesn't completely fix it.