apocas / dockerode-compose

docker-compose in Node.js using dockerode
Apache License 2.0
143 stars 31 forks source link

Cannot read properties of undefined (reading 'indexOf') #46

Open ffMathy opened 5 months ago

ffMathy commented 5 months ago

Cannot read properties of undefined (reading 'indexOf')

Here's my docker-compose file:

version: '3'

services:
  lucidlink:
    container_name: lucidlink

    build:
      context: ../../
      dockerfile: Dockerfile
      target: lucidlink

    ports:
      - "7778:7778"

Init code:

const dockerCompose = new DockerodeCompose(this.docker, this.options.dockerComposePath, 'wats-test');
await dockerCompose.pull();
await dockerCompose.up({
  verbose: true
});