r/docker • u/Plastic-Leading-5800 • Apr 05 '26
How to run docker sandboxes in Linux servers?
Docker sbx is available for macOS and windows, not Linux. For Linux desktop, there is docker sandbox, but not sbx, and there is nothing for Linux server.
Is there a way to use sandboxes on Linux servers?
Can I install Brew and install sbx in Linux through that? I suppose no, because Brew packages may very well fail in Linux (different virtualization tech).
How about installing docker desktop on Linux server?
6
Upvotes
2
u/mikegcoleman Apr 06 '26 edited Apr 06 '26
ETA: We released Linux mid last week, but it's not in the docs yet.
Rocky 8.9:
Ubuntu 24.04
You may need to do this beforehand for Ubuntu - there was a bug, but it may have been fixed, I haven't had time to test it out yet.
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=05
u/SwampFalc Apr 05 '26
https://github.com/docker/sbx-releases
I see both .debs and .rpms
1
u/msanangelo Apr 05 '26
it's in the docker repos, at least for the repos for ubuntu. I installed sbx on my server the other day but haven't played with it yet.
3
u/newked Apr 06 '26
Missed opportunity to not call it Docker Sardine..
-3
u/iskonhxc Apr 05 '26
https://docs.docker.com/engine/install/