Once a container has terminated in Docker, the next step is to tag the container to an image, so it can be saved to a repository.
To do so, we run the docker commit
with the container ID from the previous step and tag it to be a repository under quay.io
.
docker commit {{ tour.tourScope.containerId }} quay.io/{{ tour.tourScope.username }}/{{ tour.tourScope.repoName }}