A wrapper on top of the internal docker API.