there has been a log written on how to install Docker-ce on Ubuntu but it is never straightforward. In my case the only thing I had to run through Docker was Collabora in combination with Nextcloud the perfect alternative for Google Docs:
On the docker docs https://docs.docker.com/install/linux/docker-ce/ubuntu/ it says:
Docker CE on Ubuntu supports
aufs storage drivers. For new installations on version 4 and higher of the Linux kernel,
overlay2is supported and preferred over
aufs. Docker CE uses the
overlay2storage driver by default. If you need to use
aufs instead, you need to configure it manually.
Now from experience I know that Collabora did not run well if aufs was used. It generated error message in the logfiles and it rebooted every time I was opening up a document and Overlay2 did not work because my xfs file-format was not set up correct:
naming =version 2 bsize=4096 ascii-ci=0 ftype=0
should have been:
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
Docker docs again:
Warning: Running on XFS without d_type support now causes Docker to skip the attempt to use the overlay or overlay2 driver. Existing installs will continue to run, but produce an error. This is to allow users to migrate their data. In a future version, this will be a fatal error, which will prevent Docker from starting.
So without aufs and without overlay2 the only option is devicemapper which is actually also not an option:
WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use.
But for now the only option as it will run at least. Next step is to reformat the disk with the flag
I will update on that when done