[英]How can I filter on Windows-based or Linux-based containers within Docker Hub?
I recently started exploring the wonderful world of containers. 我最近开始探索美妙的容器世界。 Obviously boot2docker enables us for quite some time now to run Linux-based containers on a Windows platform.
很显然,boot2docker使我们在相当长的一段时间内可以在Windows平台上运行基于Linux的容器。 Recently Microsoft has released native Windows-based container support as part of their new OS platforms Windows Server 2016 and Windows 10 Pro and up, which enables us to run native Windows containers!
最近,Microsoft发布了基于Windows的本机容器支持,作为其新操作系统平台Windows Server 2016和Windows 10 Pro及更高版本的一部分,这使我们能够运行本机Windows容器! See https://docs.microsoft.com/en-us/virtualization/windowscontainers/
请参阅https://docs.microsoft.com/en-us/virtualization/windowscontainers/
First thing that I noticed is that the available container images on Docker Hub are not interchangable. 我注意到的第一件事是Docker Hub上的可用容器映像不可互换。 One needs to pick a Linux-based container image for the Linux-based Docker/container host and a Windows-based container image for the Windows-based container host.
人们需要为基于Linux的Docker /容器主机选择基于Linux的容器映像,为基于Windows的容器主机选择基于Windows的容器映像。 Ie:
即:
unknown blob
. unknown blob
。 Just try to install the image https://hub.docker.com/r/microsoft/aspnet/ yourself. image operating system "linux" cannot be used on this platform
. image operating system "linux" cannot be used on this platform
。 Eg just pick https://hub.docker.com/_/jenkins/ That leads to my question: I find it quite difficult, within Docker Hub, to find the suitable container image for the right platform. 这导致了我的问题:我发现在Docker Hub中为正确的平台找到合适的容器图像非常困难。 Is there a way to filter on the required container base?
有没有办法过滤所需的容器基础?
OK, I just found out that there is a new platform called Docker Store, https://store.docker.com/ 好的,我刚发现有一个名为Docker Store的新平台, https: //store.docker.com/
They provide the filter I was looking for: 他们提供我正在寻找的过滤器:
Regrettably one can only filter the official store templates/registry. 遗憾的是,只能过滤官方商店模板/注册表。 When browsing through the community templates, the filter option is greyed out.
浏览社区模板时,过滤器选项显示为灰色。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.