how to make correction in existing docker images in docker hub code example Example: commit container to image sudo docker commit [CONTAINER_ID] [new_image_name]