Added support for capabilities in docker state.