Not able to get it to work on Rootless Docker
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Rust
- スター
- 20.6k
- フォーク
- 2k
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 283
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/OpenShell のほかの issue
-
state:triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
config preflight exits 0 on allow_unauthenticated_users = true対応中かも @ericcurtin が 2 日前に担当しました。 オープンstate:triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
state:triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
bug(python): OIDC refresh drops the gateway's oidc_scopes再び着手できるかも @jyotir07 が 9 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンstate:triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
NVIDIA/OpenShell#4919 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
NVIDIA/OpenShell の issue をすべて見る
似ている issue
-
auto:producer auto:security
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
fritzprix/libr-agent#2595 ·
メンテナーはふだん 1 日以内に返信
-
area:fs type:fix
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Tripstack-Corp/spyc#1002 ·
メンテナーはふだん 1 日以内に返信
-
github_actions security
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
dekobon/big-code-analysis#1815 ·
メンテナーはふだん 1 日以内に返信
-
[Detail Bug] Request logs can be forged via control characters in fetch object keys (log injection)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
s2-streamstore/cachey#211 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信