Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run Docker Compose. Error: (HTTP code 409) unexpected - cannot join network of a non running container #216

Open
basharat58 opened this issue Dec 27, 2021 · 0 comments

Comments

@basharat58
Copy link

basharat58 commented Dec 27, 2021

I am running a docker-compose file, with the following:

version: "3.7"
services:
  localstack:
    container_name: "commandeer-localstack"
    image: localstack/localstack:latest
    hostname: localstack
    ports:
      - "4567-4597:4567-4597"
      - "${PORT_WEB_UI-8080}:${PORT_WEB_UI-8080}"
    environment:
      - SERVICES=s3,sqs,lambda,dynamodb,sts,iam,cloudwatch,apigateway,events,sns
      - DEBUG=1
      - DATA_DIR=/tmp/localstack/data
      - PORT_WEB_UI=8080
      - LAMBDA_EXECUTOR=docker-reuse
      - KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- }
      - DOCKER_HOST=unix:///var/run/docker.sock
    volumes:
      - "./.localstack:/tmp/localstack"
      - "/var/run/docker.sock:/var/run/docker.sock"

Once this runs, although it says:
LocalStack started
Running Docker Compose

I get an error:
image

In cmd, when I run docker ps
I get the following:
image

The image is 'localstack/localstack:0.10.6' and not 'localstack/localstack:latest'

I have terraform scripts, when I run them they take forever to execute:
image

Although the above shows 10s, then go on forever until I stop them. I am running in us-east-1 region. That is set in the Terraform scripts and also in Commandeer, when I go to Accounts:
image

I am new to Commandeer/LocakStack and Terraform, please can someone help to get me started running locally with these?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant