diff --git a/dup.rb b/dup.rb index 7a53f18..ea4c548 100755 --- a/dup.rb +++ b/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