mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
Merge pull request #16914 from coolljt0725/add_userns_check
Add user namespace check to check-chonfig.sh Upstream-commit: 0b122dc55bfebaa167f63fd8d010d0c7b1e87c99 Component: engine
This commit is contained in:
@@ -180,6 +180,9 @@ check_flags "${flags[@]}"
|
||||
echo
|
||||
|
||||
echo 'Optional Features:'
|
||||
{
|
||||
check_flags USER_NS
|
||||
}
|
||||
{
|
||||
check_flags MEMCG_KMEM MEMCG_SWAP MEMCG_SWAP_ENABLED
|
||||
if is_set MEMCG_SWAP && ! is_set MEMCG_SWAP_ENABLED; then
|
||||
@@ -240,6 +243,3 @@ echo '- Storage Drivers:'
|
||||
} | sed 's/^/ /'
|
||||
echo
|
||||
|
||||
#echo 'Potential Future Features:'
|
||||
#check_flags USER_NS
|
||||
#echo
|
||||
|
||||
Reference in New Issue
Block a user