File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -6,33 +6,33 @@ Dockerized StarCraft 2 Linux application.
66
77## Basic usage
881 . Pull the latest image:
9- ``` bash
10- $ docker pull alkurbatov/sc2
11- ```
9+ ``` bash
10+ docker pull alkurbatov/sc2
11+ ```
1212
13132 . Run the image:
14- ```
15- $ docker run -p 8167:8167 alkurbatov/sc2
16- ```
17- Full list of supported command line options described [ here] ( https://github.com/Blizzard/s2client-proto/blob/master/docs/linux.md ) .
14+ ``` bash
15+ docker run -p 8167:8167 alkurbatov/sc2
16+ ```
17+ Full list of supported command line options described [ here] ( https://github.com/Blizzard/s2client-proto/blob/master/docs/linux.md ) .
1818
19193 . Connect to the game.
2020Example code for the C++ API can be found [ here] ( https://github.com/cpp-sc2/scrubber ) .
2121
2222## Advanced usage
2323To change the listening port, e.g. to 8888:
2424``` bash
25- $ docker run -it --rm -p 8888:8888 sc2 -port 8888
25+ docker run -it --rm -p 8888:8888 sc2 -port 8888
2626```
2727
2828To run with enabled software rendering:
2929``` bash
30- $ docker run -it --rm -p 8167:8167 sc2 -port 8167 -osmesapath libOSMesa.so
30+ docker run -it --rm -p 8167:8167 sc2 -port 8167 -osmesapath libOSMesa.so
3131```
3232
3333To run with enabled hardware rendering:
3434``` bash
35- $ docker run -it --rm -p 8167:8167 sc2 -port 8167 -eglpath libEGL.so
35+ docker run -it --rm -p 8167:8167 sc2 -port 8167 -eglpath libEGL.so
3636```
3737
3838## License
You can’t perform that action at this time.
0 commit comments