New answers tagged

1

Workaround While have not found the root cause for why this only affects the specific combination of windows containers and docker-compose, i want to add the workaround mentioned in the second edit for other peoples benefit: I solved my problem by overriding the container's primary DNS server. After adding this into the service's config, it is suddenly able ...


0

Maybe try this syntax, with quotes for the volume: services: mc-server: build: context: . dockerfile: Dockerfile_server2022 image: minecraft:winserver2022 platform: windows container_name: MinecraftServer restart: unless-stopped ports: - "25565:25565" volumes: - "C:/MinecraftDocker/...


Top 50 recent answers are included