120MB minimum rawhide not install anything
1.1K
Minimum Fedora docker image that nothing install
To get the image michilu/fedora-zero:
$ docker pull michilu/fedora-zero
or, use in the Dockerfile:
FROM michilu/fedora-zero
Now, the yum was departure, so install the dnf package on docker container, first:
$ yum install dnf
To create docker image, first run on the docker container:
$ docker run michilu/fedora-supermin
then, get fedora-zero.tar.xz file from the docker container:
$ docker cp <CONTAINER ID>:/fedora-zero.tar.xz .
then, build docker image:
$ cat fedora-zero.tar.xz | docker import -
$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
<none> <none> c4e626cd398a 0 seconds ago 120.5 MB
Content type
Image
Digest
sha256:c5e167ae0…
Size
43.7 MB
Last updated
over 10 years ago
docker pull michilu/fedora-zero