89luca89 / 89luca89/distrobox

[Suggestion] Add options to skip "Installing basic packages" step for distrobox-enter

Ouverte
#1,734 16 commentaires 19 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Go
Étoiles
13k
Forks
541
Merge moyen
20 h 47 min
PR mergées (30 j)
4

Description

**Is your feature request related to a problem? Please describe.**
Every time you enter a stopped container, `distrobox enter` will also install basic packages (this behaviour is probably inherited from `distrobox init`). But if you don't have internet yet, this step is either stuck or errors out (at least for fedora containers, I am not sure if this happens to other distributions). Sometimes we need to use the tools inside the distrobox without the internet.

**Describe the solution you'd like**
Maybe adding options to skip installing basic packages for `distrobox enter` can solve this problem.

**Describe alternatives you've considered**
Or skip installing basic packages automatically when there is no internet connection.

**Additional context**
This is what happens if I shutdown my internet and try to enter a fedora container:
![Image](https://github.com/user-attachments/assets/7179e38a-d895-4879-94af-f9b6fa0a13f3)

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.