Skip to content

ryanxf999/docker-skifree

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SkiFree in Docker

What is it?

The classic 90s game SkiFree running in WINE via X from your host Linux system.

The Yeti that eats you.

How to Run

To run the Dockerhub image, you will need to pass your $DISPLAY env var, match your user ID and mount your X socket, like so:

docker run -it --rm -e DISPLAY=$DISPLAY --user `id -u` -v="/tmp/.X11-unix:/tmp/.X11-unix" alanf/skifree-wine

Which version of the game is this?

It runs the most officialest 32bit build from the original website.

But... why?!

I was so preoccupied with whether I could, that I didn't stop to think if I should...

Kidding aside, unlike the original from Windows 3.1 (that you can still run in DOSBOX online), this one scales to the biggest your screen can fit.

Here it is running in my laptop's high-DPI display at glorious 1792x1696 resolution:

start screen

and in action:

skiing

Can I escape the Yeti?!

Yes, it's possible.

xkcd

Escape the Yeti by traveling another 2000 m from the point at which the monster gives chase, creating a loop and starting over from the beginning.

One way to evade it is to go directly left or right in fast mode with the "F" key. He is right behind you, but cannot catch you unless you hit an obstacle.

I'm on Windows, how do I run this?

You're on Windows?? Dude, you don't need WINE.. You don't even need Docker!

Just run the actual executable.

But really, why did you make this?

I was reading about X forwarding in Docker containers and wanted to put it to practice.

This exercise taught me that --user in docker run with your own user ID lets you tap into your active X session easily without file ownership issues or X security errors.


Enjoy! (and don't let the Yeti get ya!!)

About

SkiFree in Docker, running via WINE.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%