Skip to content
Volkan Florchinger edited this page Mar 1, 2015 · 4 revisions

Fatal error: Host key for XXXXX.dev did not match pre existing key! Server's key was changed recently, or possible man in the middle attack.

Problem: When trying to do fab config:mbb install (first time use) following error occurs. Fatal error: Host key for XXXXX.dev did not match pre-existing key! Server's key was changed recently, or possible man-in-the-middle attack.

Solution: open your ~/.ssh/known_hosts and remove the entry for XXXXX.dev

When creating a new docker image be sure you have the latest version of the docker submodule

In the docker submodule there is a build file https://github.com/stmh/drupal-docker/blob/master/docker/Dockerfile

If that file is build once it will re-build similar docker instances from cache

So before doing, $ fab config:mbb docker:run for the first time, make sure you have latest version of docker submodule.