added a fake docker daemon and fixed a few errors