in continuous integration, if the code push builds a new image later, how to restart the container and start based on the latest image if a container is running the old image? Can only stop the container-delete the container-delete the image-pull the latest image-start the container to do this?