Re: [CentOS] C7 and docker storage

2017-12-01 Thread Andrew Holway
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,  wrote:

> Was working on docker on a server, and on startup, I see
> Nov 29 10:58:27  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  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@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C7 and docker storage (folllowing myself up)

2017-12-01 Thread m . roth
m.r...@5-cent.us wrote:
> Gianluca Cecchi  wrote:
>> Date: Thu, 30 Nov 2017 09:55:58 +0100
>> On Wed, Nov 29, 2017 at 10:23 PM,  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?
>>>
>> 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/
>>
> Interesting, but it doesn't help me: I can't rebuild the server, it's in
> use, and I yum installed docker from the std. repos. What I see from the
> links tells me how to switch storage, not how to manually configure
> overlay2 storage, and whether I can do as I said, and point it to an
> NFS-mounted location.
>
I just found some RH documentation for C 7 on overlayfs, and I see it says
that NFS is only usable for the the docker graphs So, I just found, on
the two systems I'm working with it on, an unused drive. Does anyone know
if it is the case that I *cannot* use the partition, but need to make an
LVM on it, for docker to use it?

  mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C7 and docker storage

2017-12-01 Thread m . roth
Gianluca Cecchi  wrote:
> Date: Thu, 30 Nov 2017 09:55:58 +0100
> On Wed, Nov 29, 2017 at 10:23 PM,  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?
>>
> 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/
>
Interesting, but it doesn't help me: I can't rebuild the server, it's in
use, and I yum installed docker from the std. repos. What I see from the
links tells me how to switch storage, not how to manually configure
overlay2 storage, and whether I can do as I said, and point it to an
NFS-mounted location.

 mark

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C7 and docker storage

2017-11-30 Thread Gianluca Cecchi
On Wed, Nov 29, 2017 at 10:23 PM,  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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] C7 and docker storage

2017-11-29 Thread m . roth
Was working on docker on a server, and on startup, I see
Nov 29 10:58:27  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  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@centos.org
https://lists.centos.org/mailman/listinfo/centos