Questions tagged [lcow]

4 questions
4
votes
2 answers

Issues with binding volumes of docker linux containers on Windows Server 2019

I am required by our client to run Apache Kafka in linux container on Windows Server 2019 with LCOW. I am using docker-compose to bring up two containers and this is my docker-compose.yml file: version: "3" services: zookeeper: image:…
4
votes
0 answers

LCOW deprecated - Windows server 2019 should now use Docker Desktop instead of Docker Entreprise?

Since v20.10 Docker has deprecated the use of LCOW, therefore the opportunity to run both Linux & WIndows containters on Windows Server has been restrcited. As they state : The experimental feature to run Linux containers on Windows (LCOW)…
X.Otano
  • 2,079
  • 1
  • 22
  • 40
2
votes
1 answer

Unable to resolve docker.host.internal with docker-compose on windows server 2019

I need to connect to docker host from a linux container in my windows server machine. But docker dns is not able to resolve docker.host.internal. I have tried to add host.docker.internal in docker compose extra_hosts tag and have also tried to map…
Fiza
  • 81
  • 1
  • 6
0
votes
4 answers

Check if Docker container is running on Windows from inside a Linux container

I'm maintaining a Docker image of a database (Linux). The image runs on Linux and Windows (Linux container on Windows - lcow). But on Windows it behaves a bit different. How can I detect if the host OS is Windows from inside the container?
Michael
  • 2,528
  • 3
  • 21
  • 54