docker run -d -p 8500:8500 --name=consul hypriot/rpi-consul agent -data-dir=/data
but got error
$ docker logs 22a3b4e3fdcf
==> Starting Consul agent...
==> Starting Consul agent RPC...
==> Consul agent running!
Node name: '22a3b4e3fdcf'
Datacenter: 'dc1'
Server: false (bootstrap: false)
Client Addr: 127.0.0.1 (HTTP: 8500, HTTPS: -1, DNS: 8600, RPC: 8400)
Cluster Addr: 10.1.98.2 (LAN: 8301, WAN: 8302)
Gossip encrypt: false, RPC-TLS: false, TLS-Incoming: false
Atlas: <disabled>
==> Log data will now stream in as it occurs:
2016/06/02 03:45:54 [INFO] serf: EventMemberJoin: 22a3b4e3fdcf 10.1.98.2
2016/06/02 03:45:54 [ERR] agent: failed to sync remote state: No known Consul servers
==> Failed to check for updates: Get https://checkpoint-api.hashicorp.com/v1/check/consul?arch=arm&os=linux&signature=670da1bd-90bd-dd9a-6aa7-98581bae29b3&version=0.6.4: x509: failed to load system roots and no roots provided
2016/06/02 03:46:19 [ERR] agent: failed to sync remote state: No known Consul servers
2016/06/02 03:46:37 [ERR] agent: failed to sync remote state: No known Consul servers
2016/06/02 03:46:54 [ERR] agent: failed to sync remote state: No known Consul servers
2016/06/02 03:47:22 [ERR] agent: failed to sync remote state: No known Consul servers
2016/06/02 03:47:45 [ERR] agent: failed to sync remote state: No known Consul servers
2016/06/02 03:48:14 [ERR] agent: failed to sync remote state: No known Consul servers
2016/06/02 03:48:41 [ERR] agent: failed to sync remote state: No known Consul servers
2016/06/02 03:48:59 [ERR] agent: failed to sync remote state: No known Consul servers
2016/06/02 03:49:28 [ERR] agent: failed to sync remote state: No known Consul servers
2016/06/02 03:49:47 [ERR] agent: failed to sync remote state: No known Consul servers
Anyone tell me the reason?
cluster-lab stop
/etc/cluster-lab/cluster.conf
@MingTheMerciful Did you meanwhile succeed installing our docker-hypriot
? If not, run
wget https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh
chmod +x check-config.sh
./check-config
Check if everything in section "Generally Necessary" is green.