This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
4 changed files
with
41 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# RLLIB SUMO Docker environment for Linux | ||
|
||
## docker-cmd-linux.sh usage | ||
|
||
``` bash | ||
Default parameters: | ||
IMAGE name "tf-gpu-sumo-{today}" [-n, --image-name] | ||
IMAGE folder "docker-image-linux" [-f, --image-folder] | ||
GPU enabled (true) [--no-gpu] | ||
OPTIRUN disabled (false) [--with-optirun] | ||
BUILD: false [-b, --build] | ||
with CACHE: false [-c, --cache] | ||
RUN: false [-r, --run] | ||
with SCREEN: false [-s, --screen] | ||
EXEC: false [-e, --exec] | ||
CONTAINER: "" (use docker ps for the id) | ||
COMMAND: "" [--cmd] | ||
EXP: "" [--exp] | ||
DETACH: (true) [--detach] | ||
DEVELOPMENT dir "" [-d, --devel] | ||
LEARNING dir "" [-l, --learn] | ||
``` | ||
|
||
Example of use: | ||
|
||
- Build the image (with GPU enabled) and launch the example learning in the terminal: | ||
`bash docker-cmd-linux.sh --build --cache --run` | ||
- Build the image with a specific name and launch the example learning in the terminal: | ||
`bash docker-cmd-linux.sh --image-name=rllibsumoutils-docker --build --cache --run` | ||
- Run the already built image in a screen: | ||
`bash docker-cmd-linux.sh --image-name=rllibsumoutils-docker --run --screen` | ||
- Attach to an already running docker container (using docker ps to know the id): | ||
`bash docker-cmd-linux.sh --exec=9ed3cec06e` | ||
- The default docker entry point in the image runs the tests. It can be changed by using: | ||
`bash docker-cmd-linux.sh --run --cmd="/bin/bash"` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters