Added support for --net and --entrypoint.
This commit is contained in:
parent
e8bea498d8
commit
7a1c8e5417
4
dup.rb
4
dup.rb
@ -19,6 +19,8 @@ MAPPINGS = [
|
||||
['stop_signal', '--stop-signal'],
|
||||
['stop_grace_period', '--stop-timeout'],
|
||||
['devices', '--device'],
|
||||
['net', '--net'],
|
||||
['entrypoint', '--entrypoint'],
|
||||
['image', nil],
|
||||
['command', nil, {:escape=>false}]
|
||||
]
|
||||
@ -30,6 +32,7 @@ def get_sample(name="container")
|
||||
image: "my/image:1.2.3"
|
||||
restart: always
|
||||
command: "/bin/bash"
|
||||
entrypoint: "/script.sh"
|
||||
build: "/data/dir"
|
||||
pull: false
|
||||
|
||||
@ -51,6 +54,7 @@ def get_sample(name="container")
|
||||
container_name: "Something"
|
||||
mem_limit: 125M
|
||||
stdin_open: false
|
||||
net: host
|
||||
tty: false
|
||||
detach: true
|
||||
remove: false
|
||||
|
Loading…
Reference in New Issue
Block a user