Docker Community Forums

Share and learn in the Docker community.

Installing docker on fedora 28


(Alfonz19) #1

Trying to learn docker I found myself cornered by incomplete documentation:

Following this how-to, Docker fails to start (quite hard for complete newcommer)

device-mapper: table: 253:8: thin: Couldn’t open thin internal device

On Fedora28 it seems that default storage is lvm(not actually documented in any reasonable place), while overlay2 is recommended(no idea why lvm is default then!). On fedora 26 overlay2 seems to be in experimental state(based on googling), but what is it in fedora 28, no idea. Nevertheless. If it’s lvm then, then based on configuration:

DOCKER_STORAGE_OPTIONS="–storage-driver devicemapper --storage-opt dm.fs=xfs --storage-opt dm.thinpooldev=/dev/mapper/ssd–vg-docker–pool --storage-opt dm.use_deferred_removal=true --storage-opt dm.use_deferred_deletion=true "

it seems, that it requires ssd–vg-docker–pool volume group, which is absent. No instructions are present how to create it… I mean I can blindly create xfs vg of that name, but I’m little bit reluctant to do this trial and error approach. So dead end here.

Ok, lets move on to aufs and overlay2, which is recommended anyways … no instructions how to install it on fedora anywhere, failed to find it in repos or google.

Can someone provide explanations / links or fill in severely incomplete documentation?