Add support for openSUSE

Đang mở
#587 0 bình luận 2 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.

  • #1294 của @ricardobranco777 — đã đóng, không merge

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
docker
Lĩnh vực
devops

Hướng nghiên cứu

The issue describes Fedora 43 packaging as a template and identifies the libcgroup and libseccomp dependencies, but names no files or tests. First inspect the Fedora packaging definitions and the upstream test setup for openSUSE; done means openSUSE packages install with their dependencies satisfied and the upstream tests pass on openQA.

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

Mô tả

I just tried this on openSUSE Tumbleweed:

$ sudo zypper ar https://download.docker.com/linux/fedora/docker-ce.repo

$ sudo sed -i 's/\$releasever/43/g' /etc/zypp/repos.d/docker-ce-*.repo

$ sudo zypper ref

# Install dependencies
$ sudo zypper in libseccomp2 libcgroup3

$ sudo zypper in docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Loading repository data...
Reading installed packages...
Resolving package dependencies...
2 Problems:
Problem: 1: nothing provides 'libseccomp' needed by the to be installed containerd.io-2.2.1-1.fc43.x86_64
Problem: 2: nothing provides 'libcgroup' needed by the to be installed docker-ce-3:29.1.5-1.fc43.x86_64

Problem: 1: nothing provides 'libseccomp' needed by the to be installed containerd.io-2.2.1-1.fc43.x86_64
 Solution 1: do not install containerd.io-2.2.1-1.fc43.x86_64
 Solution 2: break containerd.io-2.2.1-1.fc43.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): 2

Problem: 2: nothing provides 'libcgroup' needed by the to be installed docker-ce-3:29.1.5-1.fc43.x86_64
 Solution 1: do not install docker-ce-3:29.1.5-1.fc43.x86_64
 Solution 2: break docker-ce-3:29.1.5-1.fc43.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): 2

$ sudo systemctl enable --now docker

I could run without issues. I will run the upstream tests on openQA to verify.

Any objections on using Fedora 43 as template for adding support for openSUSE? I think it would only be a matter of tweaking these 2 dependencies: libcgroup & libseccomp.

Ngôn ngữ chính
Dockerfile
Star
37
Fork
42
Merge trung bình
16 giờ 53 phút
Pull request đã merge (30 ngày)
30

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 docker/packaging

Tất cả issue của docker/packaging

Issue tương tự

Thêm issue về DevOps

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.