Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
add warning about using sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
swangcs committed Aug 10, 2020
1 parent 97d2053 commit ad4dbca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/howto-mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Basic command to use:

`sudo bash docker-cmd-mac.sh --image-name={your_image_name} --run --no-gpu`

> :warning: **Using SUDO for docker is not a good practice**: Due to a problem of user privilege between host and container, `sudo` has to be used here to make it work. We will address this security issue soon.
This will run `/home/alice/learning/training.sh` inside the docker container, which will then run `/home/alice/libraries/rllibsumoutils/example/ppotrain.py`.

To facilitate your development, you can add options to synchronize the code on your local system with the docker container. The mappings are as follows:
Expand Down

0 comments on commit ad4dbca

Please sign in to comment.