Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Improve the steps for running docker compose in the setup documentation (#4462)

Kinance1ddf2324ff51
diff --git a/docs/setup.md b/docs/setup.md
index 4bdf6a16b2..c4755a8d68 100644
--- a/docs/setup.md
+++ b/docs/setup.md
@@ -34,13 +34,13 @@ Get your OpenAI API key from: [https://platform.openai.com/account/api-keys](htt
### Set up with Docker
1. Make sure you have Docker installed, see [requirements](#requirements)
-2. Pull the latest image from [Docker Hub]
+2. Create a project directory for Auto-GPT
:::shell
- docker pull significantgravitas/auto-gpt
+ mkdir Auto-GPT
+ cd Auto-GPT
-3. Create a folder for Auto-GPT
-4. In the folder, create a file called `docker-compose.yml` with the following contents:
+3. In the project directory, create a file called `docker-compose.yml` with the following contents:
:::yaml
version: "3.9"
@@ -71,8 +71,13 @@ Get your OpenAI API key from: [https://platform.openai.com/account/api-keys](htt
redis:
image: "redis/redis-stack-server:latest"
-5. Create the necessary [configuration](#configuration) files. If needed, you can find
+4. Create the necessary [configuration](#configuration) files. If needed, you can find
templates in the [repository].
+5. Pull the latest image from [Docker Hub]
+
+ :::shell
+ docker pull significantgravitas/auto-gpt
+
6. Continue to [Run with Docker](#run-with-docker)
!!! note "Docker only supports headless browsing"