Skip to content

Commit

Permalink
readme: Clarify Docker instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
rht authored and tpike3 committed Mar 31, 2022
1 parent f83905e commit ae5c027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Running Mesa in Docker

You can run Mesa in a Docker container in a few ways.

If you are a Mesa developer, first `install Docker Compose <https://docs.docker.com/compose/install/>`_ and then run:
If you are a Mesa developer, first `install Docker Compose <https://docs.docker.com/compose/install/>`_ and then, in the folder containing the Mesa Git repository, you run:

.. code-block:: bash
Expand All @@ -86,7 +86,7 @@ If you are a Mesa developer, first `install Docker Compose <https://docs.docker.
This runs the wolf-sheep predation model, as an example.

The docker-compose.yml file does two important things:
With the docker-compose.yml file in this Git repository, the `docker compose up` command does two important things:

* It mounts the mesa root directory (relative to the docker-compose.yml file) into /opt/mesa and runs pip install -e on that directory so your changes to mesa should be reflected in the running container.
* It binds the docker container's port 8521 to your host system's port 8521 so you can interact with the running model as usual by visiting localhost:8521 on your browser
Expand Down

0 comments on commit ae5c027

Please sign in to comment.