SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
Doc: Pull correct image for updating
Kilian Lieretf2d3e5bbf82a
diff --git a/docs/installation/docker.md b/docs/installation/docker.mdindex 1ecfbd4c..576eec84 100644--- a/docs/installation/docker.md+++ b/docs/installation/docker.md@@ -7,6 +7,8 @@ Instead of installing SWE-agent from source, you can also run the software direc3. Add your API tokens to a file `keys.cfg` as explained [here](keys.md) or pass them asenvironment variables.+## Running the command line interface+Assuming that you create `keys.cfg` in the current directory, run```bash@@ -36,13 +38,26 @@ docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock \!!! warning "Getting updates"Even though the image `sweagent/swe-agent:latest` has the tag `latest`,it is not automatically updated every time you run `docker run`. Instead,- you need to manually run `docker pull sweagent/swe-agent:latest` periodically.+ you need to manually run++ ```bash+ docker pull sweagent/swe-agent-run:latest+ docker pull sweagent/swe-agent:latest+ ```++ periodically.!!! tip "Retrieving generated files"The optional `--rm` flag removes the docker container after the command has terminated.Therefore, to retrieve files (like generated patch files) from the container, pleaseremove this flag.+## Running the web server++!!! tip "Tip"+ Please also read the previous section for tips on passing environment variables+ and staying up to date.+To run the web server, make sure to forward port 3000:```bash@@ -55,4 +70,4 @@ docker run -p 3000:3000 -it -v /var/run/docker.sock:/var/run/docker.sock \See the [installation issues section](tips.md) for more help if you run intotrouble.-{% include-markdown "../_footer.md" %}\ No newline at end of file+{% include-markdown "../_footer.md" %}