Skip to content

Dockerized StarCraft II Linux client

License

Notifications You must be signed in to change notification settings

cpp-sc2/docker-sc2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-sc2

Build Status

Dockerized StarCraft 2 Linux application.

Basic usage

  1. Pull the latest image:

    docker pull alkurbatov/sc2
  2. Run the image:

    docker run -p 8167:8167 alkurbatov/sc2

    Full list of supported command line options described here.

  3. Connect to the game.
    Example code for the C++ API can be found here.

Advanced usage

To change the listening port, e.g. to 8888:

docker run -it --rm -p 8888:8888 sc2 -port 8888

To run with enabled software rendering:

docker run -it --rm -p 8167:8167 sc2 -port 8167 -osmesapath libOSMesa.so

To run with enabled hardware rendering:

docker run -it --rm -p 8167:8167 sc2 -port 8167 -eglpath libEGL.so

License

Copyright (c) 2021-2024 Alexander Kurbatov

Licensed under the MIT license.