Add support for openSUSE

オープン
#587 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

  • #1294 @ricardobranco777 による — マージされずにクローズ

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker
領域
devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Dockerfile
スター
37
フォーク
42
平均マージ
16時間 53分
マージ済み PR(30日)
30

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

docker/packaging のほかの issue

docker/packaging の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。