如何在Windows Server 2016上运行Linux Docker映像? [英] How to run Linux Docker images on Windows Server 2016?

查看:2262
本文介绍了如何在Windows Server 2016上运行Linux Docker映像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在windows 10上使用了docker for windows与linux容器 - 但是现在我想为这个任务使用一个新的闪亮的Windows Server 2016 - 但是如何?

I have used docker for windows with linux containers on windows 10 sucessfully - but now I want to use a new shiny Windows Server 2016 for that task - but how?

我已经使用本指南安装了Docker功能: https:// msdn。 microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_server

I have installed the docker features using this guide: https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_server

安装正常的docker.msi失败,因为Windows版本不是Windows 10。

Installing the normal docker.msi fails because the windows version ist not Windows 10.

不幸的是,当尝试运行任何linux vm docker时会抛出错误:

Unfortunately, when trying to run any linux vm docker throws the error:

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

在码头测试版中,我可以在使用Windows容器或linux容器之间切换,但是我该怎么做在服务器2016 =没有托盘图标或其他。

In the docker beta I could switch between using windows containers or linux containers - but how I can do that on Server 2016= There is no tray icon or else.

推荐答案

现在可以在Windows Server 2016上运行Linux容器它不像运行Docker for Windows安装程序那么简单。完整说明如下: Windows Server 2016上的Linux Docker容器

It is now possible to run Linux containers on Windows Server 2016 although it's not as simple as running the Docker for Windows installer. Full instructions are in the following answer: Linux Docker container on Windows Server 2016

这篇关于如何在Windows Server 2016上运行Linux Docker映像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆