add methods based on the nice doc of the docker library we use