mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Add argument to allow limiting docker container to s specific amount of memory (#37950)
* Add argument to allow limiting docker container to s specific amount of memory * Address review comments
This commit is contained in:
@@ -605,6 +605,9 @@ def add_extra_docker_options(parser, integration=True):
|
||||
action='store_true',
|
||||
help='run docker container in privileged mode')
|
||||
|
||||
docker.add_argument('--docker-memory',
|
||||
help='memory limit for docker in bytes', type=int)
|
||||
|
||||
|
||||
def complete_target(prefix, parsed_args, **_):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user