docker container commit Create an image from a container docker container commit -c 'CMD["<cmd>"]' "container"