nickjj / docker-flask-example

A production ready example Flask app that's using Docker and Docker Compose.
MIT License
618 stars 102 forks source link

In file ./.env: environment variable name 'export COMPOSE_PROJECT_NAME' may not contain whitespace. #2

Closed simin75simin closed 3 years ago

simin75simin commented 3 years ago

resulted from running docker-compose up --build after following the steps OS: ubuntu18.04 Docker version 19.03.13, build cd8016b6bc

nickjj commented 3 years ago

Hi,

What version of Docker Compose do you have? You can check with docker-compose --version.

It sounds like you might have an old version (years old) which doesn't support export, but I think 1.26+ supports that.

nickjj commented 3 years ago

Going to close this as there's a 99.9% chance this is the case.

After you update Docker Compose to 1.26+ if it doesn't work feel free to respond back here.