examples: Don't use a file section if you don't need it

Exception is ./moby.yaml where it serves as an example.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2017-04-12 11:29:05 +01:00
parent a59e24b4fa
commit b0629176ab
7 changed files with 3 additions and 18 deletions

View File

@ -76,6 +76,9 @@ services:
binds:
- /var/lib/docker:/var/lib/docker
- /lib/modules:/lib/modules
files:
- path: etc/docker/daemon.json
contents: '{"debug": true}'
trust:
image:
- mobylinux/kernel

View File

@ -64,9 +64,6 @@ services:
trust:
image:
- mobylinux/kernel
files:
- path: etc/docker/daemon.json
contents: '{"debug": true}'
outputs:
- format: kernel+initrd
- format: gcp

View File

@ -45,8 +45,5 @@ services:
trust:
image:
- mobylinux/kernel
files:
- path: etc/docker/daemon.json
contents: '{"debug": true}'
outputs:
- format: vmdk

View File

@ -22,9 +22,6 @@ services:
- CAP_SYS_ADMIN
oomScoreAdj: -800
readonly: true
files:
- path: etc/docker/daemon.json
contents: '{"debug": true}'
outputs:
- format: kernel+initrd
- format: iso-bios

View File

@ -19,9 +19,6 @@ services:
- CAP_SYS_ADMIN
oomScoreAdj: -800
readonly: true
files:
- path: etc/docker/daemon.json
contents: '{"debug": true}'
outputs:
- format: kernel+initrd
- format: iso-bios

View File

@ -53,9 +53,6 @@ services:
- /run/containerd/containerd.sock:/run/containerd/containerd.sock
- /var/lib/containerd:/var/lib/containerd
- /etc/resolv.conf:/etc/resolv.conf
files:
- path: etc/docker/daemon.json
contents: '{"debug": true}'
outputs:
- format: kernel+initrd
- format: iso-bios

View File

@ -19,9 +19,6 @@ services:
- CAP_SYS_ADMIN
oomScoreAdj: -800
readonly: true
files:
- path: etc/docker/daemon.json
contents: '{"debug": true}'
outputs:
- format: kernel+initrd
- format: iso-bios