Skip to content

Document container installs are root only #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion docs/install-flox.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,21 @@ description: Install or upgrade Flox
If you have Docker installed then you can also run flox in a container to
try it out before installing on your system.

**Invoke Flox container**
**Use Flox container**

The easiest way to run Flox in a container is to run the Flox provided container:

``` { .text .code-command .copy }
docker run --pull always --rm -it ghcr.io/flox/flox
```

**Install into an existing container**

If you need to install Flox into an existing container, you can use the `.deb`
or `.rpm` installers.
Note that Flox can only be used as root in containers, unless the container
happens to have `systemd` installed.

**Verify Flox installation**

If the following command returns without error then you're ready to get
Expand Down