我在Windows Server 2016上安装了docker。基本上它是AWS AMI(带有容器的Microsoft Windows Server 2016 Base - ami-ffa3da90),预安装了docker。
当我尝试使用命令更新docker容器时:
docker update --cpu-shares 512 695fee5945d0
它失败并显示错误:
Error response from daemon: Cannot update container 695fee5945d0bf293fdfa1e9ebc6db6c0b25f221452e9c542f83af8e51ae2e28: Resource updating isn't supported on Windows
这是Docker本身的限制还是我需要做一些特定于windows的配置。
docker version
Client:
Version: 17.03.2-ee-5
API version: 1.27
Go version: go1.7.5
Git commit: fa09039
Built: Wed Jul 19 23:56:45 2017
OS/Arch: windows/amd64
Server:
Version: 17.03.2-ee-5
API version: 1.27 (minimum version 1.24)
Go version: go1.7.5
Git commit: fa09039
Built: Wed Jul 19 23:56:45 2017
OS/Arch: windows/amd64
Experimental: false