Docker support

This commit should add support for running cms inside a docker container.