简体   繁体   中英

Can a SQL Server Docker container run on Windows Server core 2022 ("linux" cannot be used on this platform)

docker pull mcr.microsoft.com/mssql/server:2019-latest

Error:

image operating system "linux" cannot be used on this platform

I'm running docker on a Windows Server Core 2022 platform

  • Client app is Docker application version 0.8.0
  • Server shows two images ltsc2022 and 1809-amd64 [nanoserver images]
  • Server version is 20.10.7
  • Kernel version is 10.0.20348

I wasn't aware that Linux was installed so the error is a bit confusing. Does Windows Server Core 2022 come preloaded with Linux? What does it mean when the error states "linux" cannot be used on this platform?

Looking at the Task Manager, services tab, shows that Docker Engine is up and running.

You can't pull mcr.microsoft.com/mssql/server:2019-latest as it's Linux based. You say you already pulled ltsc2022 and 1809-amd64 [nanoserver images], so you can install SQL Server 2019 on either of them as I've already done that, see the following link for an example: https://www.sqlservercentral.com/articles/polybase-scale-out-group-in-azure-for-free

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM