Example run scripts
To familiarize yourself with run scripts, you can refer to the ones listed here:
- To run an interactive shell in the Docker container (useful for debugging), use the following command:
docker run -it --entrypoint /bin/bash auto-gpt
This command starts an interactive shell within the Docker container, allowing you to directly access and debug Auto-GPT.
- To run Auto-GPT on a different port, try this:
docker run -p 4000:5000 auto-gpt
By specifying the port mapping with the
-p
flag, this command runs Auto-GPT on port4000
of your host machine, while internally, it listens on port5000
within the Docker container. - To forward all traffic from port 80 to Auto-GPT (this requires administrator/
sudo
privileges), run the following:sudo docker run -p 80:5000 auto-gpt
This command enables port forwarding, allowing all traffic from port
80
on your host machine to be redirected to Auto-GPT running on port5000
within the Docker container. Note that it requires administrative...