Tag: 服务器Windows服务器2016年

尝试使用Install-Module在Windows Server 2016中安装Docker时出错

我试图在Windows Server 2016中安装Docker没有成功: PS C:\Windows\system32> Install-Module -Name "DockerMsftProvider" -Force -Verbose VERBOSE: Using the provider 'PowerShellGet' for searching packages. VERBOSE: The -Repository parameter was not specified. PowerShellGet will use all of the registered repositories. VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'. VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2/' and PackageManagementProvider is 'NuGet'. VERBOSE: Searching […]

在尝试删除windowsfilter文件夹后,Docker不会再build立

C:\ ProgramData \ Docker \ Windowsfilter占用了服务器上的大部分空间,所以我尝试删除它,几件事情被删除,但由于“访问被拒绝”消息(im完全pipe理),90%的文件夹不能被删除。 。 现在,当试图构build一个微软/ issdocker图像时,无论在做什么,它都会失败: docker:未能注册图层:re-exec error:exit status 1:output:GetFileAttributesEx \?\ C:\ ProgramData \ docker \ windowsfilter \ bc1cc61881c347f8e666028fbff83c46f8e1f5550e47385749b0c1b683bb2289 \ UtilityVM \ Files \ ProgramData \ Microsoft \ Windows Defender \ Scans \ History \ CacheManager \ 01D5215E-0000-0000-0000-100000000000-0.bin:系统找不到指定的文件。 在E:\ bauen.ps1:5 char:1 + docker build –tag iistest。 –file。\ iisonly.dockerfile + ~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ + […]

Windows Server 2016 Dockerfile安装服务

我正在尝试在Windows Server2016上的Docker容器中安装服务。 简单地把服务放在那里和Powershelling: New-Service -Name Bob -StartupType Automatic -BinaryPathName .\SVCHost.exe 然后在容器中添加服务我得到结果: PS C:\Program Files\COMPANY\Repository> start-service -Name bob start-service : Service 'bob (Bob)' cannot be started due to the following error: Cannot start service Bob on computer '.'. At line:1 char:1 + start-service -Name bob + ~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException 我试图创build一个用户,并设置启动用户凭据,但同样的问题。 看着https://github.com/Microsoft/sql-server-samples/blob/master/samples/manage/windows-containers/mssql-server-2016-express-windows/dockerfile显示他们使用sqlexpress做安装的服务。 […]

将Docker窗口容器从CI部署到Windows Server 2016

我试图围绕着Docker容器,特别是如何将它们部署到Docker容器主机。 我知道这里有很多select,最终我们将切换到更常见的部署方法(例如Azure,AWS),但这只是一个临时需求。 我们正在使用Windows容器。 我已经创build了一个容器图像,并将作为Jenkins作业的一部分(我们的Jenkins实例托pipe在容器就绪的Windows Server 2016框中)在每个构build上重新创build。 我也有一个单独的容器就绪的Windows Server 2016盒,我们打算从这里运行容器。 但是,我不知道我怎么能将我们Jenkins盒子生产的容器自动推送到我们单独的2016主机。 理想情况下,我想避免使用容器registry,除非有低摩擦的内部部署选项。

我如何在AWS Windows服务器环境中运行Docker?

事情我试过了: Windows Server 2012 R2上的工具箱。 禁用Hyper-V以允许virtualbox。 我无法启用虚拟化,因为它在物理BIOS上。 在Windows Server 2016 w / Containers EC2上安装了Docker EE。 安装正确。 守护进程正在运行。 但是,我无法在hello-world:nanoserver旁边拉一张图片。 所以我追查windowsservercore和nanoserver,仍然不工作,因为他们已经过时了。 当您尝试拉动它时,Docker.com上的frizzm人的回购不起作用。 再次启动一个全新的Windows Server 2016实例。 我禁用了Hyper-V并安装了ToolBox。 不起作用。 如何在AWS的Windows服务器环境中运行Docker? 所有的vids / tuts看起来都很简单,但是我确定无法实现。 我输了。

Docker数据中心在Windows Server 2016?

我觉得我在Windows Server 2016上收到了有关Docker DataCenter的混合信号。有一些关于它在Windows上本机运行的注意事项,但这是否如此,有什么估计什么时候?