diff --git a/lib/ansible/modules/cloud/docker/docker_container.py b/lib/ansible/modules/cloud/docker/docker_container.py index 327165df90..6d41a7ca14 100644 --- a/lib/ansible/modules/cloud/docker/docker_container.py +++ b/lib/ansible/modules/cloud/docker/docker_container.py @@ -860,7 +860,7 @@ class TaskParameters(DockerBaseClass): cpu_shares='cpu_shares', cpuset_cpus='cpuset_cpus', mem_limit='memory', - mem_reservation='mem_reservation', + mem_reservation='memory_reservation', memswap_limit='memory_swap', kernel_memory='kernel_memory', )