I want to create a parent image with running host.
Over docker website it is written that we can do it, but I wanted to know the steps which are missing from this page. https://docs.docker.com/develop/develop-images/baseimages/
Even it is not correct for docker environment still I need it for one POC.
I can see option to create image from tar file like:
FROM scratch
MAINTAINER \
[Adam Miller <maxamillion@fedoraproject.org>] \
[Patrick Uiterwijk <patrick@puiterwijk.org>]
ENV DISTTAG=f30container FGC=f30 FBR=f30
ADD fedora-30-x86_64-20180906.tar.xz /
Can I create a tar file of root file system with normal tar command and use to create parent image ?