Add support for openSUSE

Aperta
#587 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #1294 di @ricardobranco777 — chiusa senza merge

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker
Ambito
devops

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Dockerfile
Stelle
37
Fork
42
Merge medio
16h 53m
PR unite (30g)
30

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di docker/packaging

Tutte le issue di docker/packaging

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.