Docker lança dois avisos relacionados ao cgroup rt period / runtime no Ubuntu

4

Quando executo docker & , obtenho:

INFO[0000] libcontainerd: new containerd process, pid: 3091 
INFO[0000] [graphdriver] using prior storage driver: aufs 
INFO[0000] Graph migration to content-addressability took 0.00 seconds 
WARN[0000] Your kernel does not support cgroup rt period 
WARN[0000] Your kernel does not support cgroup rt runtime 
INFO[0000] Loading containers: start.

Também recebo todos esses avisos:

WARN[0000] libcontainerd: client is out of sync, restore was called on a fully synced container (8564990571b56c26f32872031507e77f786b870b27ed3f0b80eebe127ce65164). 
WARN[0000] libcontainerd: failed to retrieve container 8564990571b56c26f32872031507e77f786b870b27ed3f0b80eebe127ce65164 state: rpc error: code = 2 desc = containerd: container not found 
WARN[0000] failed to cleanup ipc mounts:
failed to umount /var/lib/docker/containers/8564990571b56c26f32872031507e77f786b870b27ed3f0b80eebe127ce65164/shm: invalid argument 
WARN[0000] libcontainerd: client is out of sync, restore was called on a fully synced container (c997c7c33a57163106e3de4c470a5f0e5bd3d030c259e62a9d6ea8c292e3551f). 
WARN[0000] libcontainerd: failed to retrieve container c997c7c33a57163106e3de4c470a5f0e5bd3d030c259e62a9d6ea8c292e3551f state: rpc error: code = 2 desc = containerd: container not found 
WARN[0000] failed to cleanup ipc mounts:
failed to umount /var/lib/docker/containers/c997c7c33a57163106e3de4c470a5f0e5bd3d030c259e62a9d6ea8c292e3551f/shm: invalid argument 
WARN[0000] libcontainerd: client is out of sync, restore was called on a fully synced container (28c274e176c9c112f8bc73f6916860665c63f1407ca2670944deee7b6ae2e747). 
WARN[0000] libcontainerd: failed to retrieve container 28c274e176c9c112f8bc73f6916860665c63f1407ca2670944deee7b6ae2e747 state: rpc error: code = 2 desc = containerd: container not found 
WARN[0000] failed to cleanup ipc mounts:
failed to umount /var/lib/docker/containers/28c274e176c9c112f8bc73f6916860665c63f1407ca2670944deee7b6ae2e747/shm: invalid argument 
WARN[0000] libcontainerd: client is out of sync, restore was called on a fully synced container (cca4cbbfb9970b29a26f6cc06622311c0ac789a729810529f35160f742e96c50). 
WARN[0000] libcontainerd: failed to retrieve container cca4cbbfb9970b29a26f6cc06622311c0ac789a729810529f35160f742e96c50 state: rpc error: code = 2 desc = containerd: container not found 
WARN[0000] failed to cleanup ipc mounts:
failed to umount /var/lib/docker/containers/cca4cbbfb9970b29a26f6cc06622311c0ac789a729810529f35160f742e96c50/shm: invalid argument 
WARN[0000] libcontainerd: client is out of sync, restore was called on a fully synced container (fa2937c2ca6cef38dea9de80b68c9a68497739c391393132870e9c6c295ee72b). 
WARN[0000] libcontainerd: failed to retrieve container fa2937c2ca6cef38dea9de80b68c9a68497739c391393132870e9c6c295ee72b state: rpc error: code = 2 desc = containerd: container not found 
WARN[0000] failed to cleanup ipc mounts:
failed to umount /var/lib/docker/containers/fa2937c2ca6cef38dea9de80b68c9a68497739c391393132870e9c6c295ee72b/shm: invalid argument 
WARN[0000] libcontainerd: client is out of sync, restore was called on a fully synced container (b8335587ad37a36a35fc2f1eb57b3b3d91f61af75262eb075b9045664885ee30). 
WARN[0000] libcontainerd: failed to retrieve container b8335587ad37a36a35fc2f1eb57b3b3d91f61af75262eb075b9045664885ee30 state: rpc error: code = 2 desc = containerd: container not found 
WARN[0000] failed to cleanup ipc mounts:
failed to umount /var/lib/docker/containers/b8335587ad37a36a35fc2f1eb57b3b3d91f61af75262eb075b9045664885ee30/shm: invalid argument 
WARN[0001] libcontainerd: client is out of sync, restore was called on a fully synced container (40d2418b6741c35dd249d5e4c7aefd248fa6f0efa25d7578f81fff06aea93d3b). 
WARN[0001] libcontainerd: failed to retrieve container 40d2418b6741c35dd249d5e4c7aefd248fa6f0efa25d7578f81fff06aea93d3b state: rpc error: code = 2 desc = containerd: container not found 
WARN[0001] failed to cleanup ipc mounts:
failed to umount /var/lib/docker/containers/40d2418b6741c35dd249d5e4c7aefd248fa6f0efa25d7578f81fff06aea93d3b/shm: invalid argument

lsb_release -a

LSB Version:    core-9.20160110ubuntu5-amd64:core-9.20160110ubuntu5-noarch:security-9.20160110ubuntu5-amd64:security-9.20160110ubuntu5-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 17.04
Release:    17.04
Codename:   zesty

Como posso corrigir isso?

    
por jnbdz 10.08.2017 / 20:50

1 resposta

0

Parece que os recursos do Cgroups, exigidos pelo Docker, não são suportados pelo seu kernel atual. Você está usando o Debian? De qualquer forma, esses avisos mostram que nenhuma memória, CPU e limitações de troca poderiam ser aplicadas aos contêineres do Docker. Você deve atualizar seu Kernel se quiser / precisar deles.

    
por 03.05.2018 / 18:58