diff --git a/docker-compose.yml b/docker-compose.yml index 4c6656dd6cf8..a23aa4317677 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,6 @@ # To boot the app run the following: # docker-compose run auto-gpt +# NOTE: Version 3.9 requires at least docker-compose version 1.29.0 ! version: "3.9" services: diff --git a/docs/setup.md b/docs/setup.md index 782dbabdbba7..4ef9ec025147 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -156,7 +156,18 @@ Get your OpenAI API key from: [https://platform.openai.com/account/api-keys](htt ### Run with Docker -Easiest is to use `docker-compose`. Run the commands below in your Auto-GPT folder. +Easiest is to use `docker-compose`. + +Important: Docker Compose version 1.29.0 or later is required to use version 3.9 of the Compose file format. +You can check the version of Docker Compose installed on your system by running the following command: + + docker-compose version + +This will display the version of Docker Compose that is currently installed on your system. + +If you need to upgrade Docker Compose to a newer version, you can follow the installation instructions in the Docker documentation: https://docs.docker.com/compose/install/ + +Once you have a recent version of docker-compose, run the commands below in your Auto-GPT folder. 1. Build the image. If you have pulled the image from Docker Hub, skip this step.