added check to make sure docker only run when Docker.settings is included