Bottles · Wine manager

On this page 7

Bottles is an open-source Wine manager for Linux that creates and manages isolated environments, called bottles, in which Windows applications and games run through the Wine compatibility layer. Each bottle is a separate Wine prefix with its own runner version, libraries, registry and settings, so programs with conflicting needs do not interfere with one another.

In the field of OS compatibility for desktop operating systems, Bottles sits one level above Wine itself. It does not translate Windows calls on its own; instead it automates the configuration work that users would otherwise do by hand with environment variables, winetricks and manual prefix management.

How Bottles organizes Wine environments

Bottles works by wrapping every Wine prefix, the directory that holds a simulated Windows drive and registry, in a managed object with its own configuration file. When a user creates a bottle, the application sets up the prefix, selects a runner (a specific Wine build), installs chosen components and records everything in a YAML configuration so that the environment can be reproduced.

At creation, the user picks one of three environments. Each applies a preset of components and options suited to a type of software, and every option can be changed later.

EnvironmentIntended softwareTypical preset
GamingWindows gamesDXVK, VKD3D-Proton, esync or fsync, game-oriented runner
ApplicationProductivity and utility programsCommon fonts and runtime libraries, conservative settings
CustomAdvanced or unusual setupsEmpty prefix configured entirely by the user
Bottles environment presets

The application is built with GTK 4 and libadwaita and is officially distributed as a Flatpak package. Flatpak gives Bottles a predictable runtime across distributions and adds a sandbox around the Windows software, although the sandbox can be widened with permission overrides when a program needs access to more folders or devices.

Runners, components and dependencies

Bottles separates what actually executes Windows code from what improves compatibility. The runner is the Wine build that loads the program; components are translation layers and helpers; dependencies are Windows libraries installed inside a bottle. Each of these can be chosen per bottle, which is the main practical advantage over a single system-wide Wine installation.

The table below lists the main building blocks a user manages in Bottles.

ElementExamplesRole
RunnerSoda, Caffe, Wine-GE, upstream WineExecutes Windows binaries on Linux
DXVKVersioned DXVK releasesTranslates Direct3D 9 to 11 into Vulkan
VKD3D-ProtonVersioned releasesTranslates Direct3D 12 into Vulkan
DXVK-NVAPIVersioned releasesExposes NVIDIA features such as DLSS
DependenciesVisual C++ runtimes, .NET, fontsInstalls Windows libraries into the prefix
InstallersCommunity installer manifestsScripted setup for specific programs
Main building blocks managed by Bottles

Dependencies come from a curated repository maintained by the project rather than from arbitrary scripts. This gives more predictable results than ad hoc winetricks verbs, but it also means that a library missing from the repository must be installed manually.

Bottles compared with other compatibility tools

Bottles is one of several front ends that make Wine usable without command-line work. The choice among them depends on whether the user mainly runs general applications or games, and on how much integration with storefronts is expected.

ToolMain focusKey difference from Bottles
WineCore compatibility layerNo environment management, manual prefixes
ProtonGames launched from SteamTied to the Steam client and its library
LutrisGame library and launchersScript-driven installers, broader emulator support
BottlesIsolated environments for any softwarePer-bottle runners, snapshots, curated dependencies
PlayOnLinuxOlder Wine front endLargely superseded, older interface
Bottles and related tools built on Wine

Bottles is not an emulator and not a virtual machine. Windows programs run natively on the host CPU through Wine’s reimplementation of the Windows API, which is why performance is usually close to native but compatibility is never guaranteed.

Practical use and configuration choices

Using Bottles well means treating each bottle as a dedicated environment for one program or a small group of related programs. This keeps dependencies from colliding and makes troubleshooting straightforward. Useful features include:

  • Versioning, which takes snapshots of a bottle’s state so that a failed update or dependency install can be rolled back.
  • Backups and import, which export a whole bottle as an archive and import prefixes from other Wine managers.
  • Library mode, which presents installed programs as a launcher grid.
  • bottles-cli, a command-line interface for scripting creation and launching.
  • Per-program launch options, such as arguments, virtual desktop or a different working directory.

The decision table below helps match common situations to settings.

SituationRecommended choiceReason
Modern DirectX 11 gameGaming environment with DXVKVulkan translation gives better performance
Office or accounting softwareApplication environment, stable runnerFewer experimental patches, more predictable
Program broke after an updateRestore a versioning snapshotReturns the prefix to a known good state
Program needs files in home folderAdd a Flatpak permission overrideSandbox blocks access by default
Two programs need different runtimesSeparate bottlesPrevents library conflicts
Choosing settings in Bottles

Limitations and common mistakes

Bottles inherits every limitation of Wine. Software that depends on kernel-level drivers, such as many anti-cheat systems, copy-protection drivers or hardware dongles, generally does not work, whatever the configuration. Programs that rely on very recent Windows APIs may also fail until Wine implements them.

Common mistakes include installing many unrelated programs into one bottle, which recreates the conflicts Bottles is meant to prevent, and switching runners on a working bottle without first taking a snapshot. Users of unofficial distribution packages also report problems that the project does not support, which is why the maintainers recommend the Flatpak build. Finally, GPU translation layers depend on up-to-date Vulkan drivers, so outdated host graphics drivers are a frequent cause of crashes.

Put simply

Wine lets a Linux computer run many Windows programs, but setting it up for each program can be fiddly. Bottles makes this easier. It gives every program its own separate little Windows room, called a bottle, with the right furniture already inside.

If something breaks in one room, the others are not affected, and you can often roll the room back to how it was before. You get the convenience of running Windows software without managing all the technical details yourself.

In practice

A freelance architect moves from Windows to a Linux laptop but still needs an older Windows tool for converting drawing files and a Windows game for weekends. Using the Flatpak version of Bottles, the architect creates two bottles: an Application bottle with a stable runner for the converter, and a Gaming bottle with DXVK enabled for the game.

The converter needs Visual C++ runtimes, which are added from the dependencies list in a few clicks. Before testing a newer runner for the game, the architect takes a versioning snapshot. When the new runner causes stuttering, the snapshot restores the previous state in under a minute. The converter bottle is never touched, and both programs keep working independently on the same laptop.