Giter Club home page Giter Club logo

wine-container's Introduction

wine-container

OCI Container for Wine (or Codeweaver's Crossover) using Buildah and Podman.

Many old but useful Windows apps are probably poorly maintained or patched. Others that, while newer, are potentially buggy or have security issues. One solution is to run those apps in a container. That is the point of this project.

Goals

  • Use Podman (rootless) to limit breakout attacks.
  • All data is written to a volume and, except the sockets for X11 and PulseAudio, the containers has no access to the underlying filesystem.
  • Allow Windows apps to be orchestrated as a part of a collection of containers.
  • Support Codeweaver's Crossover in addition to Wine.

Documentation and Usage

Building and running are facilitated by two scripts: build_wine_container and run_wine_container. Each script offers help in the usual way, for example:

build_wine_container --help

Assuming you want to use this project to run CrappyWindowsApp, you could do the following:

build_wine_container -d CrappyHomeVolume -f -n CrappyWindowsApp
run_wine_container -d CrappyHomeVolume -n CrappyWindowsApp -r <path_to_crappy_app>/crappyapp.exe

The first line above will create a volume named CrappyHomeVolume and an OCI container named CrappyWindowsApp. The second line will run the app in the new container.

The volume is stored on the container host in ~/.local/share/containers/storage/volumes/$HOME_VOLUME/_data. The build script automatically makes this directory writable from the user that launched Podman so you can copy/rename/delete files from the host.

Platforms

This project should work correctly on any recent Linux distribution. I currently use Fedora (F35 Silverblue and Kinoite) , so this platform is well tested by me.

Dependencies

Contributing

I would love suggestions, fixes, documentation, examples, and other contributions. See CONTRIBUTING and CODE_OF_CONDUCT for details.

See CONTRIBUTORS for a list of contributors.

wine-container's People

Contributors

tonywalker1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.