Update running instructions

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd)
2019-12-21 20:21:23 +00:00
parent 6cc031d40a
commit 699458cc99
3 changed files with 44 additions and 15 deletions

View File

@ -49,7 +49,8 @@ func (s *Supervisor) Start(svcs []Service) error {
wd, _ := os.Getwd()
writeHostsErr := ioutil.WriteFile(path.Join(wd, "hosts"),
[]byte(`127.0.0.1 localhost`), 0644)
[]byte(`127.0.0.1 localhost
172.19.0.1 faas-containerd`), 0644)
if writeHostsErr != nil {
return fmt.Errorf("cannot write hosts file: %s", writeHostsErr)