Hello,
I’m using docker-compose comming with Docker Tools 18.03.0-ce on Windows 10. I have the following docker-compose.yml file.
version: "2"
services:
active-mq:
image: webcenter/activemq:latest
container_name: active-mq
ports:
- "8161:8161"
- "61616:61616"
- "5672:5672"
- "61613:61613"
- "1883:1883"
- "61614:61614"
tomcat:
image: tomcat:8.0-jre8
container_name: tomcat
links:
- active-mq:active-mq
volumes:
- ../docker:/usr/local/tomcat/files
ports:
- "8080:8080"
entrypoint: /usr/local/tomcat/files/run.sh
environment:
BROKER_PORT: "61616"
This file is supposed to run two docker images. But after having started the first one (active-mq) it blocks and doesn’t start the 2nd one (tomcat). Obviously, what happens is that the first image is started in foreground. Exactly the same file runs as expected on Linux. Is there anything I missed ?
Many thanks in advance.
Nicolas