Was working on docker on a server, and on startup, I see Nov 29 10:58:27 <servername> dockerd-current: time="2017-11-29T10:58:27.612849959-05:00" level=warning msg="devmapper: Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to dm.thinpooldev section." Nov 29 10:58:27 <servername> dockerd-current: time="2017-11-29T10:58:27.655600686-05:00" level=warning msg="devmapper: Base device already exists and has filesystem xfs on it. User specified filesystem will be ignored." The latter would explain the message my user's job gave him when it tried to umount / A bit of googling, and I see something called overlayFS can be used... but I know nothing about that, or how dangerous it is. Anyone got a pointed to something more than the minimal how to configure docker to use it? mark
On Wed, Nov 29, 2017 at 10:23 PM, <m.roth at 5-cent.us> wrote:> > > The latter would explain the message my user's job gave him when it tried > to umount / > > A bit of googling, and I see something called overlayFS can be used... but > I know nothing about that, or how dangerous it is. Anyone got a pointed > to something more than the minimal how to configure docker to use it? > > mark > >You could follow CentOS Atomic SIG https://wiki.centos.org/SpecialInterestGroup/Atomic http://www.projectatomic.io/download/ and/or read here and adapt in case for your storage needs: http://www.projectatomic.io/docs/docker-storage-recommendation/ See also here for overlayfs addiction in CentOS Atomic Host in September this year https://seven.centos.org/2017/09/new-centos-atomic-host-with-overlayfs-storage/ HIH, Gianluca
I believe use of any kind of storage in conjunction with docker is generally discouraged. Docker is a quite neat way of packaging up apps and deploying them but if you care about your data I would store it somewhere independent of docker. Ta, Andrew On 29 November 2017 at 22:23, <m.roth at 5-cent.us> wrote:> Was working on docker on a server, and on startup, I see > Nov 29 10:58:27 <servername> dockerd-current: > time="2017-11-29T10:58:27.612849959-05:00" level=warning msg="devmapper: > Usage of loopback devices is strongly discouraged for production use. > Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to > dm.thinpooldev section." > Nov 29 10:58:27 <servername> dockerd-current: > time="2017-11-29T10:58:27.655600686-05:00" level=warning msg="devmapper: > Base device already exists and has filesystem xfs on it. User specified > filesystem will be ignored." > > The latter would explain the message my user's job gave him when it tried > to umount / > > A bit of googling, and I see something called overlayFS can be used... but > I know nothing about that, or how dangerous it is. Anyone got a pointed > to something more than the minimal how to configure docker to use it? > > mark > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >