From d0aa269a497abeced3b9878aff4b136d75452309 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Tue, 23 May 2017 13:37:38 +0100 Subject: [PATCH] examples: switch dhcpd to onboot in redis-os example Signed-off-by: Rolf Neugebauer --- examples/redis-os.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/redis-os.yml b/examples/redis-os.yml index 37015d830..70dbc7138 100644 --- a/examples/redis-os.yml +++ b/examples/redis-os.yml @@ -7,7 +7,7 @@ init: - linuxkit/init:cbd7ae748f0a082516501a3e914fa0c924ee941e - linuxkit/runc:24dfe632ed3ff53a026ee3fac046fd544434e2d6 - linuxkit/containerd:f1130450206d4f64f0ddc13d15bb68435aa1ff61 -services: +onboot: - name: dhcpcd image: "linuxkit/dhcpcd:cb96c09a33c166eca6530f166f0f79927c3e83b0" binds: @@ -18,6 +18,8 @@ services: - CAP_NET_BIND_SERVICE - CAP_NET_RAW net: host + command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] +services: - name: redis image: "redis:3.0.7-alpine" capabilities: