diff --git a/docs/docs/server_mode.rst b/docs/docs/server_mode.rst index d5dfb6bd5..7493c730f 100644 --- a/docs/docs/server_mode.rst +++ b/docs/docs/server_mode.rst @@ -98,8 +98,8 @@ This is stored in two different repositories: .. code-block:: bash - docker run motoserver/moto:latest - docker run ghcr.io/getmoto/motoserver:latest + docker run --rm -p 5000:5000 --name moto motoserver/moto:latest + docker run --rm -p 5000:5000 --name moto ghcr.io/getmoto/motoserver:latest Example docker-compose.yaml Look at `server.py `_ to find more environment variables.