File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 55Dockerized StarCraft 2 Linux application.
66
77## Basic usage
8+
891 . Pull the latest image:
10+
911 ``` bash
1012 docker pull alkurbatov/sc2
1113 ```
1214
13- 2 . Run the image:
15+ 1 . Run the image:
16+
1417 ``` bash
1518 docker run -p 8167:8167 alkurbatov/sc2
1619 ```
17- Full list of supported command line options described [ here] ( https://github.com/Blizzard/s2client-proto/blob/master/docs/linux.md ) .
1820
19- 3 . Connect to the game.
20- Example code for the C++ API can be found [ here] ( https://github.com/cpp-sc2/scrubber ) .
21+ Full list of supported command line options described
22+ [ here] ( https://github.com/Blizzard/s2client-proto/blob/master/docs/linux.md ) .
23+
24+ 1 . Connect to the game.
25+
26+ Example code for the C++ API can be found
27+ [ here] ( https://github.com/cpp-sc2/scrubber ) .
2128
2229## Advanced usage
30+
2331To change the listening port, e.g. to 8888:
32+
2433``` bash
2534docker run -it --rm -p 8888:8888 sc2 -port 8888
2635```
2736
2837To run with enabled software rendering:
38+
2939``` bash
3040docker run -it --rm -p 8167:8167 sc2 -port 8167 -osmesapath libOSMesa.so
3141```
3242
3343To run with enabled hardware rendering:
44+
3445``` bash
3546docker run -it --rm -p 8167:8167 sc2 -port 8167 -eglpath libEGL.so
3647```
3748
3849## License
50+
3951Copyright (c) 2021-2025 Alexander Kurbatov
4052
4153Licensed under the [ MIT license] ( LICENSE ) .
You can’t perform that action at this time.
0 commit comments