Skip to content

Add SBX env var to install docker-sbx package - #574

Merged
thaJeztah merged 1 commit into
docker:masterfrom
ericcurtin:add-sbx-install-option
Aug 11, 2026
Merged

Add SBX env var to install docker-sbx package#574
thaJeztah merged 1 commit into
docker:masterfrom
ericcurtin:add-sbx-install-option

Conversation

@ericcurtin

Copy link
Copy Markdown
Contributor

What

Adds an SBX environment variable that, when set to 1, installs the
docker-sbx package alongside the regular Docker Engine packages on
both apt-based and dnf/yum-based distros:

curl -fsSL https://get.docker.com | sudo SBX=1 sh

Why

Provides a convenient opt-in way to install docker-sbx via the
existing install script, following the same environment-variable
pattern already used for CHANNEL, VERSION, DRY_RUN, etc.

Allow users to opt into installing the docker-sbx package alongside
the standard Docker Engine packages by setting SBX=1, for example:

    curl -fsSL https://get.docker.com | sudo SBX=1 sh

This mirrors the existing pattern used by other env vars (CHANNEL,
VERSION, etc.) and adds the docker-sbx package to the apt and
dnf/yum install package lists when SBX is set to "1".

Signed-off-by: Eric Curtin <eric.curtin@docker.com>
@ericcurtin
ericcurtin force-pushed the add-sbx-install-option branch from fb8b833 to a02aa0b Compare August 11, 2026 12:58
@ericcurtin

Copy link
Copy Markdown
Contributor Author

Would be open to just blindly installing this with everything else

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx!

@thaJeztah
thaJeztah merged commit 13f5fcf into docker:master Aug 11, 2026
13 checks passed
@ericcurtin
ericcurtin deleted the add-sbx-install-option branch August 11, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants