Not able to get it to work on Rootless Docker
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Reproduce on rootless Docker with the commands given, then trace the stage Docker sandbox bundle error from the backend that issues remount-ro on the overlay2 merged control channel. Check how mount flags are set for rootless environments. Done means openshell sandbox create runs without the 500 permission error.
Written by the indexing model from the issue text.
Description
User Story
openshell-gateway --port 1111 --disable-tls --config ~/.config/openshell/gateway.toml
openshell sandbox create --name demo --no-auto-providers
✗ Error: BoundaryConfigWriteFailed: stage Docker sandbox bundle: Docker responded with status code 500: remount-ro /mnt/.docker/overlay2/81491c5d0bcf546a917a6f6ab34ffed019ac44fb536f18191238703119627f42/merged/.openshell/channel/control, flags: 0x5021: operation not permitted
✓ Sandbox allocated (0s)
✓ Image already present (0s) Error: x sandbox entered error phase while provisioning: BoundaryConfigWriteFailed: stage Docker sandbox bundle: Docker responded with status code
| 500: remount-ro /mnt/.docker/overlay2/81491c5d0bcf546a917a6f6ab34ffed019ac44fb536f18191238703119627f42/merged/.openshell/channel/control,
| flags: 0x5021: operation not permitted
Problem Statement
When trying to run openshell on a machine with Rootless kit docker, it fails
Impact / Why This Matters
Users with rootlless kit docker installed are unable to use openshell
Acceptance Criteria
Running the openshell sandbox create --name demo --no-auto-providers or similar commands should not give error
Reproduction Steps
- Linux Mint 21 (kernel 5.15 ish)
- Ensure rootless docker instead of normal Docker
- Start the gateway on whatever port (1111 in my case)
- Run
openshell sandbox create --name demo --no-auto-providers
Suggested UX (if applicable)
No response
Environment
openshell --version
openshell 0.1.6
cat /etc/os-release
NAME="Linux Mint"
VERSION="21 (Vanessa)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21"
VERSION_ID="21"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=vanessa
UBUNTU_CODENAME=jammy
openshell installed via Github release .deb amd64
Logs
- Dominant language
- Rust
- Stars
- 20.6k
- Forks
- 2k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 283
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/OpenShell
-
state:triage-needed
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
config preflight exits 0 on allow_unauthenticated_users = truePossibly taken @ericcurtin claimed this 2 days ago. Openstate:triage-needed
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
state:triage-needed
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
bug(python): OIDC refresh drops the gateway's oidc_scopesMay be free again @jyotir07 claimed this 9 days ago, and no pull request is open. Openstate:triage-needed
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
NVIDIA/OpenShell#4919 · 3 comments ·
Maintainers usually reply within 1 day
All issues in NVIDIA/OpenShell
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gitbutlerapp/gitbutler#16982 ·
Maintainers usually reply within 1 day
-
priority: high status: new topic: ga4gh-sdk type: docs type: maintenance workload: minutes
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
C-bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rust-lang/rust-clippy#17976 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
aaif-goose/goose#13327 ·
Maintainers usually reply within 1 day
-
llm translation
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day