From 7b0c342dcedaa63facb14f8d2f0769fd1dfdc5a9 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Thu, 31 Jan 2019 17:41:51 +0100 Subject: [PATCH] [2.7] docker_container: userns_mode description updated to mention valid value (#51470) * description updated to mention valid value The only valid value for userns_mode on docker run command is "host". This should be mentioned in description because it is hard to find in docker documentation as well: https://github.com/docker/docker.github.io/issues/7071 (cherry picked from commit d9135f396021791e4ade5f72356200558a707618) * Update lib/ansible/modules/cloud/docker/docker_container.py Co-Authored-By: TimoKramer <4785848+TimoKramer@users.noreply.github.com> (cherry picked from commit 27dc399885e028154959690f7cc96094012dd9c3) --- lib/ansible/modules/cloud/docker/docker_container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/docker/docker_container.py b/lib/ansible/modules/cloud/docker/docker_container.py index 1c1f81bbb0e..1d6a04151be 100644 --- a/lib/ansible/modules/cloud/docker/docker_container.py +++ b/lib/ansible/modules/cloud/docker/docker_container.py @@ -226,7 +226,7 @@ options: - Connect the container to a network. Choices are "bridge", "host", "none" or "container:" userns_mode: description: - - User namespace to use + - Set the user namespace mode for the container. Currently, the only valid value is C(host). version_added: "2.5" networks: description: