title: Local Docker Compose exited abnormally with code 1 whilst running command: up -d
body: <p>I am trying to create test container with <code>DockerComposeContainer</code>.</p>
  
  <pre><code>DockerComposeContainer container =
                    new DockerComposeContainer(
                            new File("src/integrationTest/resources/mycompose-file.yml"))
                        .withLocalCompose(true)
                        .withExposedService("mongodb", 27017, Wait.forListeningPort());
                container.start();
                return container;
  
  </code></pre>
  
  <p><code>mycopose-file.yml</code> has following:</p>
  
  <pre><code>version: '3'
  
  services:
    mongodb:
      image: mongo:3.6
      environment:
        MONGO_INITDB_ROOT_USERNAME: uname
        MONGO_INITDB_ROOT_PASSWORD: upass
  
  </code></pre>
  
  <p>My test dependency include:  <code>testcontainers-1.12.3.jar</code></p>
  
  <p>I am getting error during application context startup:
  <code>java.lang.IllegalStateException: Failed to load ApplicationContext</code></p>
  
  <p>with root cause:</p>
  
  <pre><code>Caused by: org.testcontainers.containers.ContainerLaunchException: Local Docker Compose exited abnormally with code 1 whilst running command: up -d
      at org.testcontainers.containers.LocalDockerCompose.invoke(DockerComposeContainer.java:711)
  ....
  
  </code></pre>