how to docker commit before ec2 shutdown code example Example: docker commit docker commit CONTAINER_ID CONTAINER_NAME:TAG