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 5
5
Dockerized StarCraft 2 Linux application.
6
6
7
7
## Basic usage
8
+
8
9
1 . Pull the latest image:
10
+
9
11
``` bash
10
12
docker pull alkurbatov/sc2
11
13
```
12
14
13
- 2 . Run the image:
15
+ 1 . Run the image:
16
+
14
17
``` bash
15
18
docker run -p 8167:8167 alkurbatov/sc2
16
19
```
17
- Full list of supported command line options described [ here] ( https://github.com/Blizzard/s2client-proto/blob/master/docs/linux.md ) .
18
20
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 ) .
21
28
22
29
## Advanced usage
30
+
23
31
To change the listening port, e.g. to 8888:
32
+
24
33
``` bash
25
34
docker run -it --rm -p 8888:8888 sc2 -port 8888
26
35
```
27
36
28
37
To run with enabled software rendering:
38
+
29
39
``` bash
30
40
docker run -it --rm -p 8167:8167 sc2 -port 8167 -osmesapath libOSMesa.so
31
41
```
32
42
33
43
To run with enabled hardware rendering:
44
+
34
45
``` bash
35
46
docker run -it --rm -p 8167:8167 sc2 -port 8167 -eglpath libEGL.so
36
47
```
37
48
38
49
## License
50
+
39
51
Copyright (c) 2021-2025 Alexander Kurbatov
40
52
41
53
Licensed under the [ MIT license] ( LICENSE ) .
You can’t perform that action at this time.
0 commit comments