Add SBX env var to install docker-sbx package - #574
Merged
Conversation
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
force-pushed
the
add-sbx-install-option
branch
from
August 11, 2026 12:58
fb8b833 to
a02aa0b
Compare
Contributor
Author
|
Would be open to just blindly installing this with everything else |
vvoland
approved these changes
Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds an
SBXenvironment variable that, when set to1, installs thedocker-sbxpackage alongside the regular Docker Engine packages onboth apt-based and dnf/yum-based distros:
curl -fsSL https://get.docker.com | sudo SBX=1 shWhy
Provides a convenient opt-in way to install
docker-sbxvia theexisting install script, following the same environment-variable
pattern already used for
CHANNEL,VERSION,DRY_RUN, etc.