Created
November 20, 2025 17:25
-
-
Save Pobega/3e75ba1bbb02ee95f00cd6c105a6469f to your computer and use it in GitHub Desktop.
Run Docker using flatpak-spawn (for development inside toolbx/distrobox)
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
| #!/bin/bash | |
| # Save this as ~/.local/bin/docker | |
| if [ ! -x /usr/bin/docker ]; then | |
| flatpak-spawn --host /usr/bin/docker "$@" | |
| else | |
| /usr/bin/docker "$@" | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment