I’ve followed the instructions to set up a dev machine as laid out in the docs . (Centos 7)
I have Docker Tools for Centos 7 installed.
When I run make run-server I get the following error:
[uchat@localhost mattermost-server]$ INFO[2019-08-13T15:29:39.7053564+05:30] Loaded system translations for 'en' from '/home/uchat/go/src/github.com/mattermost/mattermost-server/i18n/en.json' caller="utils/i18n.go:83"
INFO[2019-08-13T15:29:39.7679207+05:30] Server is initializing... caller="app/server_app_adapters.go:58"
DEBU[2019-08-13T15:29:39.7680223+05:30] Parsing server templates at /home/uchat/go/src/github.com/mattermost/mattermost-server/templates caller="utils/html.go:31"
[uchat@localhost mattermost-server]$ INFO[2019-08-13T15:29:40.611752+05:30] Pinging SQL master database caller="sqlstore/supplier.go:223"
ERRO[2019-08-13T15:29:40.8633158+05:30] Failed to ping DB retrying in 10 seconds err=dial tcp: lookup dockerhost on 192.168.2.1:53: no such host caller="sqlstore/supplier.go:235"
INFO[2019-08-13T15:29:50.863713+05:30] Pinging SQL master database caller="sqlstore/supplier.go:223"
ERRO[2019-08-13T15:29:50.935306+05:30] Failed to ping DB retrying in 10 seconds err=dial tcp: lookup dockerhost on 192.168.2.1:53: no such host caller="sqlstore/supplier.go:235"
INFO[2019-08-13T15:30:00.9360044+05:30] Pinging SQL master database caller="sqlstore/supplier.go:223"
ERRO[2019-08-13T15:30:00.9987264+05:30] Failed to ping DB retrying in 10 seconds err=dial tcp: lookup dockerhost on 192.168.2.1:53: no such host caller="sqlstore/supplier.go:235"
INFO[2019-08-13T15:30:10.9993088+05:30] Pinging SQL master database caller="sqlstore/supplier.go:223"
ERRO[2019-08-13T15:30:11.06502+05:30] Failed to ping DB retrying in 10 seconds err=dial tcp: lookup dockerhost on 192.168.2.1:53: no such host caller="sqlstore/supplier.go:235"
INFO[2019-08-13T15:30:21.066175+05:30] Pinging SQL master database caller="sqlstore/supplier.go:223"
ERRO[2019-08-13T15:30:21.1321728+05:30] Failed to ping DB retrying in 10 seconds err=dial tcp: lookup dockerhost on 192.168.2.1:53: no such host caller="sqlstore/supplier.go:235"
Please help me out