This possibility is only out there for the devicemapper, btrfs, overlay2,windowsfilter and zfs graph drivers. For the devicemapper, btrfs, windowsfilter and zfs graph drivers, user can’t pass a size lower than the Default BaseFS Size. For the overlay2 storage driver, the scale possibility is simply available if the backing fs is xfs and mounted with the pquota mount choice. Under these circumstances, consumer can pass any dimension lower than the backing fs size. The –privileged flag provides all capabilities to the container, and it additionally lifts all the limitations enforced by the system cgroup controller.
By default, Docker doesn’t change the labels set by the OS. By bind-mounting the docker unix socket and statically linked docker binary , you give the container the full entry to create and manipulate the host’s Docker daemon. This will allow to set the container rootfs size to 120G at creation time.