windowsservercore:1709 docker镜像在Windows Server Insider Preview 17046中不起作用 [英] windowsservercore:1709 docker images do not work in Windows Server Insider Preview 17046
问题描述
构建17046.1000没有受支持的基本映像吗?我想使用进程隔离。
Is that true that there is no supported base images for build 17046.1000? I want to use process isolation.
https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility
https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility
[WIN-6B0LT0KCD9T]: PS C:\Users\Administrator\Documents> Get-ComputerInfo -Property Windows*
WindowsBuildLabEx : 17046.1000.amd64fre.rs_prerelease.171118-1403
WindowsCurrentVersion : 6.3
WindowsEditionId : ServerDatacenterACor
WindowsInstallationType : Server Core
WindowsInstallDateFromRegistry : 1/11/2018 1:34:50 PM
WindowsProductId : 00395-60000-00001-AA268
WindowsProductName : Windows Server Datacenter
WindowsRegisteredOrganization :
WindowsRegisteredOwner : Windows User
WindowsSystemRoot : C:\Windows
WindowsVersion : 1709
[WIN-6B0LT0KCD9T]: PS C:\Users\Administrator\Documents> docker version
Client:
Version: 17.06.2-ee-6
API version: 1.30
Go version: go1.8.3
Git commit: e75fdb8
Built: Mon Nov 27 22:46:09 2017
OS/Arch: windows/amd64
Server:
Version: 17.06.2-ee-6
API version: 1.30 (minimum version 1.24)
Go version: go1.8.3
Git commit: e75fdb8
Built: Mon Nov 27 22:55:16 2017
OS/Arch: windows/amd64
Experimental: false
[WIN-6B0LT0KCD9T]: PS C:\Users\Administrator\Documents> docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 2
Server Version: 17.06.2-ee-6
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: l2bridge l2tunnel nat null overlay transparent
Log: awslogs etwlogs fluentd json-file logentries splunk syslog
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 17046 (17046.1000.amd64fre.rs_prerelease.171118-1403)
Operating System: Windows Server Datacenter
OSType: windows
Architecture: x86_64
CPUs: 4
Total Memory: 7.999GiB
Name: WIN-6B0LT0KCD9T
ID: CGL4:I6CI:WL4I:2J6S:DBOM:M3XY:EBDT:OHAC:MJ3J:CQL6:EZSC:SGI4
Docker Root Dir: C:\ProgramData\docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
[WIN-6B0LT0KCD9T]: PS C:\Users\Administrator\Documents> docker run microsoft/windowsservercore:1709
docker : C:\Program Files\Docker\docker.exe: Error response from daemon: container ad649fa91de9cf7f2bda7c43ebd7e518ed0e71c3bad9266cc6facb712e986c51 encountered an error during CreateContainer: failure in a Windows system call: The operating system of the container does not match the operating system of the host.
(0xc0370101) extra info: {"SystemType":"Container","Name":"ad649fa91de9cf7f2bda7c43ebd7e518ed0e71c3bad9266cc6facb712e986c51","Owner":"docker","IsDummy":false,"VolumePath":"\\\\?\\Volume{0a870362-d20a-46d8-8a48-c0a18bbf96e8}","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\ProgramData\\docker\\windowsfilter\\ad64 9fa91de9cf7f2bda7c43ebd7e518ed0e71c3bad9266cc6facb712e986c51","Layers":[{"ID":"b7ec54e4-756c-511c-81e5-a46b67ca769d","Path":"C:\\ProgramData\\docker\\windowsfilter\\1e452d7ba15acf3c812987d14348a7fb4f3077b3e9d4ae4a6fbb7ef6a2f83981"},{"ID":"9d5fae8e-7045-52c6-ac70-0ad328d55503","Path":"C:\\ProgramData\\docker\\windowsfi lter\\f6d44c8b16fb0999d4ea4f3a0507a4e85d83c18910db772f1b0c1e7c0cd7bac9"}],"HostName":"ad649fa91de9","MappedDirectories":[],"HvPartition":false,"EndpointList":["0c42754b-6027-4b29-9e58-79b9371f3b31"],"Servicing":false,"AllowUnqualifiedDNSQuery":true}.
+ CategoryInfo : NotSpecified: (C:\Program File...NSQuery":true}.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
如何查看1709图像的内部版本号?
How can I see build number for 1709 image?
https://hub.docker.com/r/microsoft/windowsservercore/tags/
https://hub.docker.com/r/microsoft/windowsservercore/tags/
推荐答案
嘿安东,
好问题。有可用的基本图像!
Good question. There are base images available!
Docker Hub中有一个新的repo用于Windows内部人员的预览版本。
There is a new repo in Docker Hub for windows insiders preview versions.
https://hub.docker。 com / r / microsoft / nanoserver-insider
https://hub.docker.com/r/microsoft/nanoserver-insider
https://hub.docker.com/r/microsoft/windowsservercore-insider/
https://hub.docker.com/r/microsoft/windowsservercore-insider/
请,记得在新版本可用时更新Docker版本。
Please, remember to update Docker version when new became available.
问候,
Jorge Arteiro
Jorge Arteiro
Azure MVP
Azure MVP
这篇关于windowsservercore:1709 docker镜像在Windows Server Insider Preview 17046中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!