从docker信息打印中禁止警告消息

时间:2019-01-31 04:51:52

标签: bash docker scripting warnings

我想按照以下命令禁止显示警告消息

$# docker info > /dev/null
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

有什么办法吗?

0 个答案:

没有答案