Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikenye/docker-steam
Valve's Steam, on Linux, in Docker. Perfect for gaming via Remote Play.
https://github.com/mikenye/docker-steam
Last synced: 8 days ago
JSON representation
Valve's Steam, on Linux, in Docker. Perfect for gaming via Remote Play.
- Host: GitHub
- URL: https://github.com/mikenye/docker-steam
- Owner: mikenye
- License: mit
- Created: 2020-03-03T15:38:53.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-25T07:29:39.000Z (over 2 years ago)
- Last Synced: 2024-12-03T10:33:02.166Z (9 days ago)
- Language: Dockerfile
- Size: 60.5 KB
- Stars: 106
- Watchers: 7
- Forks: 21
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome - mikenye/docker-steam - Valve's Steam, on Linux, in Docker. Perfect for gaming via Remote Play. (Dockerfile)
README
# Docker Container for Steam
This container is a work in progress.
It implements Steam running on Linux, inside a Docker Container.
The eventual plan is to use this container to play games (native Linux and Proton) via Steam Remote Play.
It is far from done, however I have managed to play a couple of native Linux games via the NoVNC web interface.
This container builds upon the excellent work done in the [jlesage/baseimage-gui](https://hub.docker.com/r/jlesage/baseimage-gui) container.
## Preparation
1. Install Docker.
2. Run this command to build:```
docker build . --tag steam
```## Running
So far, I've had success running like this:
```
docker run \
--rm \
-it \
--name steam \
--shm-size 256M \
--network=host \
--privileged \
-v steam:/steam \
steam
```You can then browse to http://dockerhost:5800/, log in as yourself, install a game and try it out.
You may need to run `modprobe uinput` on the docker host prior... See how you go.
## Current Status
* Steam launches, and I can log in and install games.
* I have had success launching two native Linux titles:
* PixelJunk Monsters Ultimate
* PixelJunk Shooter
* I have had moderate success with Undertale (native Linux)
* I have had no success with Proton games, I think this is due to the fact that I'm not passing through a GPU to the container... I will test this further as time permits.
* For Remote Play:
* Keyboard/Mouse input seems to work fine
* Gamepad input seems hit and miss
* Sound doesn't appear to be working (it has worked in the past...)## Troubleshooting
I've had an issue where on subsequent runs, a segmentation fault occurs. I've found deleting the `steam` volume and having Steam re-install seems to fix it up. It's annoying but I haven't figured out a fix yet.
## Collaborate!
If this interests you, please get involved!
Please fork, make changes, submit pull requests, open issues, etc.
I don't think I'm good enough to get this running perfectly on my own. :-)
## Screenshots
* [PixelJunk Monsters via NoVNC](https://i.imgur.com/7FVqXm5.mp4)