Fix format of 'restart' option in 'config' output
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
a2ded237e4
commit
1e164ca802
4 changed files with 70 additions and 6 deletions
14
tests/fixtures/restart/docker-compose.yml
vendored
Normal file
14
tests/fixtures/restart/docker-compose.yml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
version: "2"
|
||||
services:
|
||||
never:
|
||||
image: busybox
|
||||
restart: "no"
|
||||
always:
|
||||
image: busybox
|
||||
restart: always
|
||||
on-failure:
|
||||
image: busybox
|
||||
restart: on-failure
|
||||
on-failure-5:
|
||||
image: busybox
|
||||
restart: "on-failure:5"
|
||||
Loading…
Add table
Add a link
Reference in a new issue