Downloaded and verified serf_0.8.2_linux_amd64.zip from the Serf Downloads page.
To start an agent from the command-line:
docker pull overneath/serf:0.8.2
docker run overneath/serf:0.8.2 agentFor an example of how to use this image within a LinuxKit build, see linuxkit.yml
kernel:
# ...
init:
- linuxkit/init:v0.6
# ...
- overneath/serf:0.8.2
onboot:
# ...
services:
# ...
- name: serf
image: alpine:3.9
binds:
- /etc/resolv.conf:/etc/resolv.conf
- /run/config/serf:/etc/serf
- /opt/local:/usr/local
- /var/lib/serf:/var/lib/serf
command: [/usr/local/bin/serf, agent, -config-dir=/etc/serf, -tags-file=/var/lib/serf/tags.json]
runtime:
mkdir:
- /run/config/serf
- /var/lib/serf