Skip to content

[BUG] npipe volumes broken since 2.35.0 #12757

@perosb

Description

@perosb

Description

npipe volumes are not longer working since 2.35.0 which break docker in docker.
Works fine in 2.34.0.

Steps To Reproduce

volumes:
- source: \\.\pipe\docker_engine
  target: \\.\pipe\docker_engine
  type: npipe

docker compose build
results in error message;
validating C:\s\buildagent\docker-compose.yml: services.agent.volumes.0.type services.agent.volumes.0.type must be one of the following: "bind", "volume", "tmpfs", "cluster", "image"

Compose Version

Docker Compose version v2.35.0

Docker Environment

Client:
 Version:    28.1.0
 Context:    default
 Debug Mode: false
 Plugins:
  compose: Docker Compose (Docker Inc.)
    Version:  v2.35.0
    Path:     C:\ProgramData\Docker\cli-plugins\docker-compose.exe

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 14
 Server Version: 28.0.4
 Storage Driver: windowsfilter
  Windows:
 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 splunk syslog
 Swarm: inactive
 Default Isolation: process
 Kernel Version: 10.0 26100 (26100.1.amd64fre.ge_release.240331-1435)
 Operating System: Microsoft Windows Server Version 24H2 (OS Build 26100.3775)
 OSType: windows
 Architecture: x86_64
 CPUs: 4
 Total Memory: 32GiB
 Name: jdp-ado-agent-w
 ID: e5386d03-2815-4fd6-ab04-07ace442a51c
 Docker Root Dir: C:\ProgramData\docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  ::1/128
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine

Anything else?

Possibly broken by #12725
Possibly related #12750
Also broken in 2.35.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions