Tag: Windows服务器

Docker在Windows 10上工作吗?

我需要在新的Windows 10家用笔记本电脑上运行docker。 直到最近,docker网站表示,它不适用于Windows 10.它现在说你需要Windows 7.1或更高版本。 但是它也表示必须启用虚拟化。 我的机器上的任务pipe理器说,它没有启用(说,虽然Hyper-V支持是的)。 我看到我需要Windows 10 Pro具有虚拟化function。 在升级之前,有没有人知道Windows 10 Pro确实运行docker? 它运行没有麻烦?

有没有一种方法可以在Dockers上使用Windows的GUIfunction

我在想有没有一种方法来利用我的Windows基础桌面应用程序的Dockers概念。 我需要为每个构build运行GUItesting,性能testing,工作streamtesting等。 我目前所做的就是使用Hyper-V来预先设置不同的操作系统映像。 是否有一个简单的方法来实现使用docker概念相同的事情。 据我所知这可以实现非GUI应用程序。 但基本的桌面应用程序如何?

如何使用Docker命令行工具从远程主机访问Windows容器

我尝试使用Docker命令行工具从远程主机访问Windows Container守护进程,参数如下: –tlsverify –tlscacert="/home/kamit/.docker/machine/certs/ca.pem" –tlscert="/home/kamit/.docker/machine/certs/cert.pem" –tlskey="/home/kamit/.docker/machine/certs/key.pem" -H=tcp://104.131.102.147:2376 如何configurationWindows容器来实现这一点?

Docker IISnetworking连接到外部networking

这里完全是Dockers的新手。 我有一个非常简单的.NET 45应用程序,它构build在ServiceStack框架上。 他们主要是API的Web服务。 Docker映像构build得很好,容器部署良好,运行正常,没有问题。 我正在使用Windows容器(而不是docker for windows)。 不过,我有一个特定的Web服务调用第三方API(传统),我们正在使用SOAP客户端来做到这一点。 但是,这个Web服务总是抛出EndpointNotFoundexception: “ https://externalapi.asmx上没有可以接受消息的端点监听,这通常是由地址或SOAP操作不正确引起的,请参阅InnerException(如果存在)以获取更多详细信息。 我已经阅读了Windows NAT问题。 我的直觉是自给式的容器是孤立的,因此没有外部互联网连接到外部世界。 有什么我需要configuration我的微软/ iis图像? 我的Docker文件: FROM microsoft/iis SHELL ["powershell"] RUN Install-WindowsFeature NET-Framework-45-ASPNET ; \ Install-WindowsFeature Web-Asp-Net45 COPY \ MyAwesomeWebsite RUN Remove-WebSite -Name 'Default Web Site' RUN New-Website -Name 'MyAwesomeWebsite' -Port 80 \ -PhysicalPath 'c:\MyAwesomeWebsite' -ApplicationPool '.NET v4.5' EXPOSE 80

Windows泊坞窗图像生成挂起创build一个目录

我遵循微软给出的指示,为ASP.Net应用程序创build一个Windows Docker镜像,但由于某些原因,它无法通过mkdir步骤。 这是dockerfile: FROM microsoft/aspnet RUN mkdir C:\storefront RUN powershell -NoProfile -Command \ Import-module IISAdministration; \ New-IISSite -Name "Storefront" -PhysicalPath C:\storefront -BindingInformation "*:80:" EXPOSE 80 ADD storefront/ /storefront 这里是我得到的输出: docker build -t storefront . Sending build context to Docker daemon 137.8 MB Step 1/5 : FROM microsoft/aspnet —> e761eca2f8df Step 2/5 : RUN mkdir C:\storefront […]

Docker for windows – 文件共享

我想要在Windows容器中安装文件共享。 我试图安装一个Azure文件存储共享,并在内部工作正常。 我可以浏览目录中的文件。 但是,当断开连接并重新连接我的容器powershell会话时,共享标记为“不可用”。 此外,该共享不可用于作为我的入口点运行的可执行文件。 docker exec -it a4 powershell ************** PS C:\> net use z: \\XXXX.file.core.windows.net\dockerstore /u:XXXXX XXXXXX== /P:Yes The command completed successfully. PS C:\> net use New connections will be remembered. Status Local Remote Network ——————————————————————————- OK Z: \\XXXX.file.core.windows.net\dockerstore Microsoft Windows Network The command completed successfully. exit ****************** docker exec -it a4 powershell […]

尝试在Windows 2016核心容器中创build计划任务时出错

我正在尝试构build一个包含自定义计划任务的容器。 这是我的dockerfile: FROM microsoft/windowsservercore RUN schtasks /create /tn hello /sc daily /st 00:00 /tr "echo hello" 我得到以下错误: 错误:任务XML包含格式不正确或超出范围的值。 (43,4):任务: 附加到正在运行的默认Windows核心容器并运行该命令时,也会得到相同的错误。 不用说,该命令在标准的Windows 2016服务器上运行良好。 这似乎是Windows容器中的一个错误,但是我没有发现任何已知的问题。 欣赏任何可能帮助弄清楚的线索。

Windows Server 2016 TP3上为Docker存储的TLS证书在哪里?

我有一台运行Windows Server 2016 Technical Preview的虚拟机,并安装了Containersfunction,然后从Microsoft的容器工具回购库中运行Install-ContainerHost.ps1脚本 https://github.com/Microsoft/Virtualization-Documentation/tree/master/windows-server-container-tools/Install-ContainerHost 我现在可以在Windows上运行Docker Deamon。 接下来,我想将证书复制到客户端机器,以便我可以远程向主机发出命令。 但是我不知道证书在主机上的存储位置。 在脚本中,pathvariables设置为%ProgramData%\ docker \ certs.d

是否有可能在Windows容器中安装Visual Studio

是否有可能在Windows服务器的Windows容器中安装Visual Studio的任何版本? 动机是使用Windows Containers在持续集成系统中构build软件,从而使构build环境标准化。

我可以在Windows Server容器内运行Internet Explorer吗?

我想实现我的梦想,让我的networking应用程序容器和selenium容器内testing它。 然后,我可以通过创build一个容器集群大规模平行我的浏览器testing。 是否有可能在Windows Server容器中运行Internet Explorer? 谢谢