[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Docker in Debian Jessie



On 10/07/16 13:24, Erwan David wrote:

>>>  From what I've read here [1], it seems that this filesystem was
>>> introduced with Linux 3.18. And I'm using here 3.16:
>>>
>>> # uname -a
>>> Linux orion 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08)
>>> x86_64 GNU/Linux
>>>
>>> Are you using the kernel of Backports?
>>>
>>>
>>> Kind regards,
>>> Daniel
>>>
>>> [1] https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/

>> Sorry, yes I am using the kernel from backports.
>>
>> Other solutions you have :
>> - using btrfs (I use it on my laptop)
>> - using the devmapper driver

> kernel 4.6 is available in jessie-backports.

Hi, Erwan and Gilles.

Thanks for your replyes.

It seems that my problem had to do with the network configuration. In
this notebook where I am trying to install Docker I had at that time an
active OpenVPN connection. It seems that this issue was mentioned in
#779 for libnetwork.

A workaround was: stop OpenVPN, install Docker, start OpenVPN (*)

Curiously, may think that if I uninstall Docker while the VPN is active
and then I install it again, I should have the same problem; but it was
not the case. It seems that once having performed the procedure referred
in (*), it was sufficient. Do you know why can this be?

On the other hand, I rechecked the syslog:

----------------------------------------------------------------------
# grep docker /var/log/syslog
Jul  9 09:06:55 orion systemd[1]:
[/lib/systemd/system/docker.service:19] Unknown lvalue 'Delegate' in
section 'Service'
Jul  9 09:06:55 orion systemd[1]:
[/lib/systemd/system/docker.service:19] Unknown lvalue 'Delegate' in
section 'Service'
Jul  9 09:06:55 orion systemd[1]:
[/lib/systemd/system/docker.service:19] Unknown lvalue 'Delegate' in
section 'Service'
Jul  9 09:06:55 orion systemd[1]:
[/lib/systemd/system/docker.service:19] Unknown lvalue 'Delegate' in
section 'Service'
Jul  9 09:06:55 orion docker[18248]:
time="2016-07-09T09:06:55.898384570-03:00" level=info msg="New
containerd process, pid: 18253\n"
Jul  9 09:06:56 orion docker[18248]:
time="2016-07-09T09:06:56.906426875-03:00" level=info msg="[graphdriver]
using prior storage driver \"aufs\""
Jul  9 09:06:56 orion docker[18248]:
time="2016-07-09T09:06:56.963054171-03:00" level=info msg="Graph
migration to content-addressability took 0.00 seconds"
Jul  9 09:06:56 orion docker[18248]:
time="2016-07-09T09:06:56.973795286-03:00" level=info msg="Firewalld
running: false"
Jul  9 09:06:57 orion docker[18248]:
time="2016-07-09T09:06:57.199871766-03:00" level=info msg="Default
bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon
option --bip can be used to set a preferred IP address"
Jul  9 09:06:57 orion docker[18248]:
time="2016-07-09T09:06:57.361765943-03:00" level=warning msg="Your
kernel does not support cgroup memory limit"
Jul  9 09:06:57 orion docker[18248]:
time="2016-07-09T09:06:57.361826389-03:00" level=warning msg="Your
kernel does not support cgroup cfs period"
Jul  9 09:06:57 orion docker[18248]:
time="2016-07-09T09:06:57.361849359-03:00" level=warning msg="Your
kernel does not support cgroup cfs quotas"
Jul  9 09:06:57 orion docker[18248]:
time="2016-07-09T09:06:57.362083818-03:00" level=warning msg="mountpoint
for pids not found"
Jul  9 09:06:57 orion docker[18248]:
time="2016-07-09T09:06:57.362585153-03:00" level=info msg="Loading
containers: start."
Jul  9 09:06:57 orion docker[18248]:
time="2016-07-09T09:06:57.362654336-03:00" level=info msg="Loading
containers: done."
Jul  9 09:06:57 orion docker[18248]:
time="2016-07-09T09:06:57.362671858-03:00" level=info msg="Daemon has
completed initialization"
Jul  9 09:06:57 orion docker[18248]:
time="2016-07-09T09:06:57.362750229-03:00" level=info msg="Docker
daemon" commit=b9f10c9 graphdriver=aufs version=1.11.2
Jul  9 09:06:57 orion docker[18248]:
time="2016-07-09T09:06:57.383146130-03:00" level=info msg="API listen on
/var/run/docker.sock"
Jul  9 09:07:04 orion systemd[1]:
[/lib/systemd/system/docker.service:19] Unknown lvalue 'Delegate' in
section 'Service'
Jul  9 09:08:26 orion kernel: [1121922.054721] aufs
au_opts_verify:1570:docker[18265]: dirperm1 breaks the protection by the
permission bits on the lower branch
----------------------------------------------------------------------

Do you think the messages about "Delegate" of systemd has to do with the
three warnings for cgroups (memory limit / cfs period / cfs quotas)?

In addition docker info shows other warnings:

----------------------------------------------------------------------
# docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 1.11.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 0
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 3.16.0-4-amd64
Operating System: Debian GNU/Linux 8 (jessie)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.524 GiB
Name: orion
ID: CG3E:U4KT:WT7F:275W:RAON:PN56:SMVY:KI3N:5R36:JDCO:W4CE:NT5V
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No oom kill disable support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
----------------------------------------------------------------------

Do you think this or the following messages could bring any problems
when create containers?

----------------------------------------------------------------------
Jul  9 09:06:57 orion docker[18248]:
time="2016-07-09T09:06:57.362083818-03:00" level=warning msg="mountpoint
for pids not found"
(...)
Jul  9 09:08:26 orion kernel: [1121922.054721] aufs
au_opts_verify:1570:docker[18265]: dirperm1 breaks the protection by the
permission bits on the lower branch
----------------------------------------------------------------------


Kind regards,
Daniel

[1] https://github.com/docker/libnetwork/issues/779

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: