swarmd: Add metadata service

Also update other users of linuxkit/metadata to the newest build while I'm
here.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
This commit is contained in:
Ian Campbell 2017-04-25 13:48:09 +01:00
parent 5b0f92fb9e
commit 6c87493ec5
4 changed files with 12 additions and 3 deletions

View File

@ -27,7 +27,7 @@ onboot:
net: host net: host
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata - name: metadata
image: "linuxkit/metadata:c5567e65e9125f0a4c4b8cb9d56a86377be62652" image: "linuxkit/metadata:a810b68fec9c9282cf096eed50605ddd6b2f3142"
binds: binds:
- /dev:/dev - /dev:/dev
- /var:/var - /var:/var

View File

@ -43,7 +43,7 @@ onboot:
net: host net: host
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata - name: metadata
image: "linuxkit/metadata:c5567e65e9125f0a4c4b8cb9d56a86377be62652" image: "linuxkit/metadata:a810b68fec9c9282cf096eed50605ddd6b2f3142"
binds: binds:
- /dev:/dev - /dev:/dev
- /var:/var - /var:/var

View File

@ -27,7 +27,7 @@ onboot:
net: host net: host
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata - name: metadata
image: "linuxkit/metadata:c5567e65e9125f0a4c4b8cb9d56a86377be62652" image: "linuxkit/metadata:a810b68fec9c9282cf096eed50605ddd6b2f3142"
binds: binds:
- /dev:/dev - /dev:/dev
- /var:/var - /var:/var

View File

@ -15,6 +15,15 @@ onboot:
capabilities: capabilities:
- CAP_SYS_ADMIN - CAP_SYS_ADMIN
readonly: true readonly: true
- name: metadata
image: "linuxkit/metadata:a810b68fec9c9282cf096eed50605ddd6b2f3142"
binds:
- /dev:/dev
- /var:/var
- /tmp/etc/resolv.conf:/etc/resolv.conf
net: host
capabilities:
- CAP_SYS_ADMIN
services: services:
- name: rngd - name: rngd
image: "linuxkit/rngd:61a07ced77a9747708223ca16a4aec621eacf518" image: "linuxkit/rngd:61a07ced77a9747708223ca16a4aec621eacf518"