Tag: Windows服务器

docker窗口拉图像x509:由未知权威签署的证书

我已经在Windows 2016服务器虚拟机中安装了docker,但当我试图拉动Docker镜像窗口服务器核心2016年后面防火墙(办公室不适用)“ docker pull Microsoft/windowsservercore"我越来越x509:由未知权威错误签名的证书。 但是,当我在我家拉我的形象,可以下载的问题是它非常缓慢。 我曾尝试在deamon.jason文件中添加不安全registry。 但是格式不正确。 让我知道我可以从办公室n / w下载图像。 问候,Karthick

docker与MSSQL服务器

我有疑问在SQL服务器与docker。 如果我有多个MS SQL数据库容器正在我的主机中运行,并且它被具有负载平衡的相同应用程序访问。 数据库将如何在容器中复制(Live)。 我们可以使用SQL复制为此。 请在此build议。 我是新来的 。 问候,Karthick V

Docker发送构build上下文失败 – 连接强制closures

我试图从客户端构builddocker镜像时遇到了问题。 我正在使用“docker –host xxxx build”命令。 生成开始被发送和失败几秒钟后,出现以下错误: time =“2017-08-11T09:43:27 + 01:00”level = error msg =“无法添加文件\\?\ E:\ folder \ master \ workspace \ packages \ Newtonsoft.Json.10.0.3 \ Newtonsoft.Json.10.0.3.nupkg to tar:io:在closures的pipe道上读/写“time =”2017-08-11T09:43:27 + 01:00“level = error msg =”无法closurestar作者:io:read / write on closed pipe“在连接过程中发生错误:发布http:// xxxx:2375 / v1.27 / build?buildargs =%7B%22CONFIGURATION%22%3A%22live%22%7D&cachefrom =%5B% 5D&cgroupparent =&cpuperiod = 0&cpuquota = 0&cpusetcpus =&cpusetmems =&cpushares […]

Postgres Docker容器数据无法挂载到本地

我试图在postgres中做数据持久性。 但是当我想要将数据文件夹装入我的本地文件时,出现此错误。 fixing permissions on existing directory /var/lib/postgresql/data … ok creating subdirectories … ok selecting default max_connections … 100 selecting default shared_buffers … 128MB selecting dynamic shared memory implementation … posix creating configuration files … ok LOG: could not link file "pg_xlog/xlogtemp.25" to "pg_xlog/000000010000000000000001": Operation not permitted FATAL: could not open file "pg_xlog/000000010000000000000001": No such […]

尝试使用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 […]

Dockernetworking通信问题

我对这个docker工人是新手,我已经开始在2016服务器上运行容器服务。 当我运行iis镜像时,“Docker run -it -p 80:80 microsoft / iis启动成功,但是当试图访问iis示例页面时,不能通过本地主机加载,但是我可以访问Docker主机名和ip地址主机我知道它是WINNAT的限制,但是当我尝试从我的另一台机器使用主机的IP地址访问(例如:http://192.168.1.5/在相同的n / w上形成另一台机器)iis示例页面无法访问,任何人都可以帮我解决这个问题。

testingDscConfiguration对容器

我没有问题部署我的Windows 2016容器(基于servercore)和应用configuration推模式(现在,稍后拉),但不知道如何远程testing我的容器的状态(如使用test-dscconfiguration -Computer ….),有什么想法? Ps:我可以用“ Enter-Pssession ”参数使用Enter-Pssession ,并尝试find类似于Test-DscConfiguration的解决scheme或其他任何替代scheme;) 谢谢!

Windows下的请求下载Dockerfile失败,'未被识别'

我正在尝试构build自己的Windows Docker镜像。 在dockerfile中,我想下载当前的activemq zip文件。 我使用了几个命令来完成这个任务,但是总是出现错误信息: 我试过的: RUN powershell (New-Object System.Net.WebClient).DownloadFile('http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.15.0/apache-activemq-5.15.0-bin.zip&action=download', 'c:\temp\activemq.zip') RUN powershell wget 'http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.15.0/apache-activemq-5.15.0-bin.zip&action=download' -OutFile 'c:\temp\activemq.zip' RUN powershell Invoke-WebRequest -Uri 'http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.15.0/apache-activemq-5.15.0-bin.zip&action=download' -OutFile c:\temp\activemq.zip RUN ['powershell', 'wget', 'http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.15.0/apache-activemq-5.15.0-bin.zip&action=download', '-OutFile', 'c:\temp\activemq.zip'] RUN powershell -command 'wget http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.15.0/apache-activemq-5.15.0-bin.zip&action=download -OutFile c:\temp\activemq.zip' 结果是 “行动”不被识别为内部或外部命令,可操作程序或batch file。 RUN ["powershell", "Invoke-WebRequest -Uri http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.15.0/apache-activemq-5.15.0-bin.zip&action=download -OutFile c:\temp\activemq.zip"] 结果是 '[“powershell”'不被识别为内部或外部命令,可操作的程序或batch file。 我想,我必须逃避&符号。 我尝试了口音`但是这也不起作用。 我怎样才能下载这个文件? 编辑:命令和下载工作在一个容器内手动。

Windows / Docker /外部安装

在继续之前,这个设置完全可以在我的OSX上运行。 现在,我也需要它在Windows 10机器上。 再一次,除了一件事,一切都有效。 当用dockerclosures所有东西docker-compose down ,MongoDb的内容被清除。 正如我发现的,可能有效的解决scheme是创build一个外部卷。 我所做的,与docker volume create mongodbdata 。 它没有工作。 这是我的docker-compose.yaml: version: '2' volumes: mongodbdata: external: true services: nginx: image: 'nginx:alpine' ports: – '8000:80' volumes: – './:/app' – './docker-nginx.conf:/etc/nginx/conf.d/default.conf' mongodb: image: mongo volumes: – 'mongodbdata:/data' ports: – '8001:27017' command: mongod –smallfiles –logpath=/dev/null 我试图删除外部:真的希望它会与当地的音量,没有运气在那里。 我试图把版本'3'只是万一,没有运气。 有趣的是,当我使用Google时,我设法做到了。 所以我用docker关掉了所有的东西,把所有东西都提了出来,不知何故数据在那里。 所以看起来,这可能工作,但我可能做错了什么。 我尝试了各种组合,甚至设法成功了几次,但无法弄清楚我是如何成功的,换句话说也找不到这种模式。 如果有人能分享一些知识,我将不胜感激。 如果我错过了任何信息,请告诉我。 非常感谢! […]

Docker无法识别我的系统上的Hyper-V,没有MobyLinux VM,如何创build?

我在我的系统上启用了Hyper-V(并重新启动)。 然后,我安装了“Docker for Windows”。 每次启动Docker时,都会给我同样的错误。 我想,不知何故,MobyLinux虚拟机不是在我的机器上创build的。 我如何手动configuration一个?