From 72ee1a7fbfb40c3bec7dbaf95d64f31ced3336e5 Mon Sep 17 00:00:00 2001 From: sablin39 <1020030829@qq.com> Date: Sun, 9 Jul 2023 18:09:11 +0800 Subject: [PATCH] Fixed typos and add dockerhub links --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 26efcb517..d433ff72b 100644 --- a/README.md +++ b/README.md @@ -74,11 +74,13 @@ ## Docker Setup ``` There are some changes of mirrors in the dockerfile, for users outside mainland China, feel free to modify or delete them :) +You can also pull the image from dockerhub via `docker pull sablin39/metagpt:`. + To run the docker image, you can use the following command. ```bash docker run -it -v :/app/metagpt/config -v :/app/metagpt/workspace metagpt: ``` -This command mounts the config folder and workspace folder in the host machine, so the container can use the same comfiguration and store the works in the host machine. You should use absolute directory of these folders. The `command` is what you want to run, you can set it as `/bin/bash -c "cd metagpt && python startup.py "Write helloworld in python""` or just `/bin/bash` for interactive terminal. +This command mounts the `config` and `workspace` folder in the host machine. You should use absolute directory of these folders. ## Tutorial: Initiating a startup