Closed
Description
Whenever I try to use volumes in docker compose up
it fails with the following error:
Error response from daemon: hcsshim::CreateComputeSystem {GUID}: The request is not supported.
I see the following entries in Windows Event Viewer :
- Warning: Cannot create a template for a Hyper-V Container, reached the maximum number of templates. (Hyper-V-Compute)
- Error: {GUID} cleanup: failed to delete container from containerd: no such container
- Error: Handler for POST /v1.41/containers/{GUID}/start returned error: hcsshim::CreateComputeSystem {GUID}: The request is not supported.
Bind mounts are working fine.
Windows 21H2 Build 22000.739
Docker Desktop 4.9.1 (81317)
docker version
Client:
Cloud integration: v1.0.25
Version: 20.10.16
API version: 1.41
Go version: go1.17.10
Git commit: aa7e414
Built: Thu May 12 09:17:07 2022
OS/Arch: windows/amd64
Context: default
Experimental: true
Server: Docker Desktop 4.9.1 (81317)
Engine:
Version: 20.10.16
API version: 1.41 (minimum version 1.24)
Go version: go1.17.10
Git commit: f756502
Built: Thu May 12 08:44:17 2022
OS/Arch: windows/amd64
Experimental: true
docker context show
default
docker info
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., v0.8.2)
compose: Docker Compose (Docker Inc., v2.6.0)
sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc., 0.6.0)
scan: Docker Scan (Docker Inc., v0.17.0)
Server:
Containers: 16
Running: 0
Paused: 0
Stopped: 16
Images: 65
Server Version: 20.10.16
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: hyperv
Kernel Version: 10.0 22000 (22000.1.amd64fre.co_release.210604-1628)
Operating System: Windows 10 Pro Version 2009 (OS Build 22000.739)
OSType: windows
Architecture: x86_64
CPUs: 16
Total Memory: 31.91GiB
Name: ***REDACTED***
ID: ***REDACTED***
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
Product License: Community Engine