Revert Command->Args but remove from yaml where not needed

In the riddler change I changed "command" in the yaml to "args"
but did not change the files. In fact we basically used the
default command everywhere so this did not actually break.

Remove the unnecessary "command" lines to simplify yaml.

Revert the command to args change for now as I think I prefer
command, but its easier to switch now. Need to think if the
entrypoint/command distinction matters before finalizing.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-04-04 09:51:17 +01:00
parent 7f57c4cfff
commit 57c75741e9
10 changed files with 3 additions and 19 deletions

View File

@@ -8,7 +8,6 @@ system:
binds:
- /proc/sys/fs/binfmt_misc:/binfmt_misc
readonly: true
command: [/usr/bin/binfmt, -dir, /etc/binfmt.d/, -mount, /binfmt_misc]
- name: check
image: "mobylinux/check:c9e41ab96b3ea6a3ced97634751e20d12a5bf52f"
pid: host

View File

@@ -22,12 +22,9 @@ daemon:
- CAP_SYS_ADMIN
oomScoreAdj: -800
readonly: true
command: [/bin/tini, /usr/sbin/rngd, -f]
- name: virtsock-server
image: "mobylinux/test-virtsock:35fea96fd01f6edb67021c494ddf098fdb8bbca0"
readonly: true
command: [/bin/tini, /bin/virtsock_stress, -s, -v, 1]
outputs:
- format: kernel+initrd
- format: iso-bios