Docker Community Forums

Share and learn in the Docker community.

Different between w10 and server 2019

• Issue type
This docker compose code works on a windows 10 but not on windows server 2019
Mosquitto:
image: eclipse-mosquitto
container_name: mosquitto
build:
context: ./mosquitto
dockerfile: dockerfile
ports:
- “1883:1883”
- “9001:9001”
volumes:
- .\mosquitto\config\mosquitto.conf:/mosquitto/config/mosquitto.conf
- .\mosquitto\data:/mosquitto/data
- .\mosquitto\log:/mosquitto/log

It fails on
.\mosquitto\config\mosquitto.conf:/mosquitto/config/mosquitto.conf

This works though
.\mosquitto\config:/mosquitto/config/

Is this by design or some bugg?

• OS Version/build
• Windows 10 1809
o Client: Docker Engine - Community
o Version: 19.03.2
o API version: 1.40
o Go version: go1.12.8
o Git commit: 6a30dfc
o Built: Thu Aug 29 05:26:49 2019
o OS/Arch: windows/amd64
o Experimental: false
o
o Server: Docker Engine - Community
o Engine:
o Version: 19.03.2
o API version: 1.40 (minimum version 1.12)
o Go version: go1.12.8
o Git commit: 6a30dfc
o Built: Thu Aug 29 05:32:21 2019
o OS/Arch: linux/amd64
o Experimental: false
o containerd:
o Version: v1.2.6
o GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
o runc:
o Version: 1.0.0-rc8
o GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
o docker-init:
o Version: 0.18.0
o GitCommit: fec3683
• Windows server 2019
o Client: Docker Engine - Enterprise
o Version: 19.03.5
o API version: 1.40
o Go version: go1.12.12
o Git commit: 2ee0c57608
o Built: 11/13/2019 08:00:16
o OS/Arch: windows/amd64
o Experimental: false
o
o Server: Docker Engine - Enterprise
o Engine:
o Version: 19.03.5
o API version: 1.40 (minimum version 1.24)
o Go version: go1.12.12
o Git commit: 2ee0c57608
o Built: 11/13/2019 07:58:51
o OS/Arch: windows/amd64
o Experimental: true