Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cpp-sc2/docker-sc2
Dockerized StarCraft II Linux client
https://github.com/cpp-sc2/docker-sc2
docker-image dockerfile sc2 starcraft-ii starcraft2
Last synced: about 1 month ago
JSON representation
Dockerized StarCraft II Linux client
- Host: GitHub
- URL: https://github.com/cpp-sc2/docker-sc2
- Owner: cpp-sc2
- License: mit
- Created: 2021-01-12T19:11:25.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T07:23:22.000Z (11 months ago)
- Last Synced: 2024-08-02T13:19:47.256Z (5 months ago)
- Topics: docker-image, dockerfile, sc2, starcraft-ii, starcraft2
- Language: Dockerfile
- Homepage:
- Size: 15.6 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-sc2-ai - docker-sc2 - A dockerized StarCraft II Linux client. (Development tools / Python Tutorials)
README
# docker-sc2
[![Build Status](https://github.com/cpp-sc2/docker-sc2/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/cpp-sc2/docker-sc2/actions/workflows/ci.yml)
Dockerized StarCraft 2 Linux application.
## Basic usage
1. Pull the latest image:
```bash
docker pull alkurbatov/sc2
```2. Run the image:
```bash
docker run -p 8167:8167 alkurbatov/sc2
```
Full list of supported command line options described [here](https://github.com/Blizzard/s2client-proto/blob/master/docs/linux.md).3. Connect to the game.
Example code for the C++ API can be found [here](https://github.com/cpp-sc2/scrubber).## Advanced usage
To change the listening port, e.g. to 8888:
```bash
docker run -it --rm -p 8888:8888 sc2 -port 8888
```To run with enabled software rendering:
```bash
docker run -it --rm -p 8167:8167 sc2 -port 8167 -osmesapath libOSMesa.so
```To run with enabled hardware rendering:
```bash
docker run -it --rm -p 8167:8167 sc2 -port 8167 -eglpath libEGL.so
```## License
Copyright (c) 2021-2024 Alexander KurbatovLicensed under the [MIT license](LICENSE).