Thursday, April 7, 2022

[SOLVED] How to "unminify" a Fedora Docker Container?

Issue

I'm using Docker on my M1 Mac Mini to run Linux environments to test my programs.

I pulled all my images using docker pull ..., and I've only used official images (official Ubuntu, official Fedora).

When I run some important commands in the Ubuntu container image, it prompted me to "unminify" the image - I checked the command, and its full path is /usr/local/sbin/unminimize. Once I run this command, a full command-line Ubuntu "operating system" is setup.

For some reason (Ubuntu seem to have trouble with QEMU-SPARC64 user-space emulator), I'm switching to Fedora. My question being: how to unminify a Fedora image? Is there a "meta"-package to install or some command to run?

Thanks.


Solution

It's not some specific "meta"-package you're looking for. It's "Package Group", and they can be queried using dnf grouplist.

You seem to need "Minimal Install" package group for starters, it can be installed with

dnf install @"Minimal Install"


Answered By - DannyNiu
Answer Checked By - Clifford M. (WPSolving Volunteer)