install: Run container fetch in host context
- Lingua principale
- Rust
- Stelle
- 2.3k
- Fork
- 230
- Merge medio
- 3g 3h
- PR unite (30g)
- 36
Descrizione
Moved from https://github.com/containers/bootc/pull/919#discussion_r1858026043
We already hit in the past a problem where a user had configured their `storage.conf` on the host to use a different location (i.e. not `/var/lib/containers`) and this breaks things right now because our bind mount setup assumes `/var/lib/containers`.
The logistical annoyance here is that we already were doing this correctly before by forking off `skopeo` in the host mount namespace. Except we hit constant problems where people had `podman` but not `skopeo`. And the image proxy API is only in skopeo, not podman.
So fixes:
- Add the image proxy to podman too
- Add Go code here to talk directly to c/image and c/storage (ref https://github.com/containers/bootc/issues/20 )
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia leggendo la discussione collegata su pull request 919 e issue 20, quindi traccia il modo in cui l’installazione esegue attualmente il recupero delle immagini dei container e i bind mount. Il lavoro sarà completo quando il proxy delle immagini sarà aggiunto a Podman e il recupero nel contesto dell’host sarà implementato tramite codice Go che comunica direttamente con c/image e c/storage.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- go
- Ambito
- cli, devops
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100