gcj*_*gcj 5 docker windows-server-2019
我想在 Windows Server 2019 版本 1809 中运行 Docker 容器。我已经安装了 docker,并且在构建映像时出现此错误:
ending build context to Docker daemon 82.94kB
Step 1/18 : FROM ubuntu:18.04
---> c6ad7e71ba7d
Step 2/18 : RUN apt-get update && apt-get -y upgrade && apt-get -y install curl unzip git npm build-essential libsqlite3-dev zlib1g-dev
failed to start service utility VM (createreadwrite): hcsshim::CreateComputeSystem 0d5c1d1d04d1bfd001c47caf7179c3e79ac02e0a41557d3b14729d9bb2e33089_svm: The virtual machine could not be started because a required feature is not installed.
Run Code Online (Sandbox Code Playgroud)
我已按照以下说明进行操作:到此博客 并解决该错误,我找到了此答案以及适用于Windows 服务器中的 Linux 容器的答案 ,但无法正常工作并返回相同的错误。
码头工人信息:
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
cluster: Manage Mirantis Container Cloud clusters (Mirantis Inc., v1.9.0)
registry: Manage Docker registries (Docker Inc., 0.1.0)
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 3
Server Version: 20.10.9
Storage Driver: windowsfilter (windows) lcow (linux)
Windows:
LCOW:
Logging Driver: json-file
Plugins:
Volume: local
Network: ics internal l2bridge l2tunnel nat null overlay private transparent
Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434)
Operating System: Windows Server 2019 Datacenter Version 1809 (OS Build 17763.2686)
OSType: windows
Architecture: x86_64
CPUs: 4
Total Memory: 15.82GiB
Name: name
ID: alphanumeric serial
Docker Root Dir: C:\ProgramData\docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Run Code Online (Sandbox Code Playgroud)
码头工人版本:
Client: Mirantis Container Runtime
Version: 20.10.9
API version: 1.41
Go version: go1.16.12m2
Git commit: 591094d
Built: 12/21/2021 21:34:30
OS/Arch: windows/amd64
Context: default
Experimental: true
Server: Mirantis Container Runtime
Engine:
Version: 20.10.9
API version: 1.41 (minimum version 1.24)
Go version: go1.16.12m2
Git commit: 9b96ce992b
Built: 12/21/2021 21:33:06
OS/Arch: windows/amd64
Experimental: true
Run Code Online (Sandbox Code Playgroud)
更新:
我已经完成了这两个存储库中的步骤: linuxkit 还有stevedorus
出现错误level=info msg="Attempting next endpoint for pull after error: image operating system \"linux\" cannot be used on this platform: operating system is not supported"
| 归档时间: |
|
| 查看次数: |
2731 次 |
| 最近记录: |