Comments (7)
I'm not sure whether it's related to your problem or not, but you absolutely do not want to run Steam with --privileged=true
, ever. When you run a container with --privileged=true
, you've stripped away almost all the protections Docker provides against that container doing unexpected (and extremely harmful!) things, so at that point you might as well install Steam on your host instead (and run it as root, because that's the level of privilege you're giving to it).
Running with the simplified docker run -it --rm --device /dev/dri -v /tmp/.X11-unix:/tmp/.X11-unix:ro --ipc host -e DISPLAY tianon/steam bash
, and then running steam
, letting it download/start, then exiting, then running steam
again, it works just fine, so I'm not able to reproduce.
from dockerfiles.
Thank you for looking at this. I really appreciate the helpful information.
On my Debian-Testing host system (intel icelake, linux 5.9.0, gnome/wayland, Docker 1.5), I still reproduce the same failure, using your invocation. My colleague verified that your invocation works properly on his Arch Linux host.
There must be some aspect of my host that is causing this issue. I'm going to install a fresh system to verify that I can get your image working on stock debian testing.
from dockerfiles.
correction. Debian apt reports Docker as:
docker/testing,testing,unstable,unstable,now 1.5-2 all [installed]
Docker reports its version as:
Docker version 19.03.13, build 4484c46
from dockerfiles.
The docker
package in APT is definitely not the one you want -- you should do something like dpkg -S dockerd
to figure out the package name you have installed (it's likely either docker-ce
or docker.io
).
I'm just guessing, but I imagine Wayland is probably related -- I have not done any testing of using Wayland (or XWayland) inside containers, and I have no idea what that will require (I use Xfce in X11 for all my Linux "desktop" machines).
from dockerfiles.
It was my mistake to report the docker
version. I installed docker.io
which reported the 19.03.13 version. I verified that a clean install of debian-testing reproduces the behavior. I also tested with Gnome/X11 and Xfce.
In reading the output of the crashed steam client carefully, I noticed that the last message before the crash is "Proceed to auto login". It turns out that the crash only occurs when I check "Remember my password" when logging in to steam the first time.
To work around the failure:
rm ~/.local/share/Steam/config/config.vdf
from dockerfiles.
I still can't reproduce -- my Steam launches and successfully performs the auto-login both the first and second time. 😞
(I go further and mount a persistent home directory into my Steam containers so even if I recreate the container it will still launch with the same config and auth every time.)
from dockerfiles.
sorry for the frustration. I don't think it is important to root cause this issue, because I can easily work around it. Hopefully this issue will be found in a web search by the next person that encounters a similar crash.
from dockerfiles.
Related Issues (20)
- Speedtest Accept license HOT 3
- Can't launch steam image HOT 9
- Exim4 Implicit TLS HOT 1
- tianon/containerd: failed to mount /var/lib/containerd/tmpmounts/containerd-mount796827023: operation not permitted: unknown HOT 4
- exim4 docker image HOT 3
- Steam container runs DotA, but no sound HOT 4
- Handbrake Dockerfile fails because of missing GPG server pool DNS record HOT 3
- Question about the true.asm (can you shave one more byte off? :) ) HOT 5
- About docker in docker - how to make it work without parent sock file HOT 1
- Question: where to see Dockerfile for tianon/centos:6.5 HOT 1
- speedtest accept license HOT 2
- misleading docker hub documentation about /etc/mailname HOT 1
- can't locate the signal-desktop HOT 2
- Exim4 relay rejected for ipv6 host HOT 1
- ehour doesn't seem to be running HOT 3
- tianon/true stopped working after latest update HOT 4
- repeatedly deleting and re-downloading Packages files? HOT 3
- sed: can't read .muttrc: No such file or directory HOT 7
- exim4: exim doesn't seem to obey retry rules HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerfiles.