forevergenin little things in life matter
Posts with the tag yum:

Bootstrapping CentOS rootfs for use with chroots/containers

We will see how to generate a rootfs tarball for redhat based system. Since we are targetting redhat based system, I am going to use debian based system (Ubuntu 17.10 64-bit - latest at the time of writing this post) as my host. We will generate rootfs tarball for CentOS 7 64-bit. The below mentioned steps are validated on Ubuntu 17.10 desktop installation. Lets get started As usual the first step, install the required dependecy packages which in our case is yum. sudo apt install yum Second, will prepare the required directory structure. In our example ~/work will be our working directory and we will install the CentOS 7 roofs in inside of work in a directory named centos7.