mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
Merge pull request #1881 from rneugeba/redis
examples: switch dhcpd to onboot in redis-os example
This commit is contained in:
commit
dde313fd64
@ -7,7 +7,7 @@ init:
|
|||||||
- linuxkit/init:cbd7ae748f0a082516501a3e914fa0c924ee941e
|
- linuxkit/init:cbd7ae748f0a082516501a3e914fa0c924ee941e
|
||||||
- linuxkit/runc:24dfe632ed3ff53a026ee3fac046fd544434e2d6
|
- linuxkit/runc:24dfe632ed3ff53a026ee3fac046fd544434e2d6
|
||||||
- linuxkit/containerd:f1130450206d4f64f0ddc13d15bb68435aa1ff61
|
- linuxkit/containerd:f1130450206d4f64f0ddc13d15bb68435aa1ff61
|
||||||
services:
|
onboot:
|
||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: "linuxkit/dhcpcd:cb96c09a33c166eca6530f166f0f79927c3e83b0"
|
image: "linuxkit/dhcpcd:cb96c09a33c166eca6530f166f0f79927c3e83b0"
|
||||||
binds:
|
binds:
|
||||||
@ -18,6 +18,8 @@ services:
|
|||||||
- CAP_NET_BIND_SERVICE
|
- CAP_NET_BIND_SERVICE
|
||||||
- CAP_NET_RAW
|
- CAP_NET_RAW
|
||||||
net: host
|
net: host
|
||||||
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
|
services:
|
||||||
- name: redis
|
- name: redis
|
||||||
image: "redis:3.0.7-alpine"
|
image: "redis:3.0.7-alpine"
|
||||||
capabilities:
|
capabilities:
|
||||||
|
Loading…
Reference in New Issue
Block a user