Not able to get it to work on Rootless Docker

Đang mở
#5,091 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, rust
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

state:triage-needed
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

Ngôn ngữ chính
Rust
Star
21.1k
Fork
2.1k
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
283

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NVIDIA/OpenShell

Tất cả issue của NVIDIA/OpenShell

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.