### Verify Installation of Latest Stable Docker Image Source: https://github.com/googlecloudplatform/cloud-sdk-docker/blob/master/README.md Verifies the installation of the latest stable Google Cloud CLI Docker image using the floating ':stable' tag. This command checks if the most recent stable release is accessible and functional. ```none docker run --rm gcr.io/google.com/cloudsdktool/google-cloud-cli:stable gcloud version ``` -------------------------------- ### Verify Installation of Specific Stable Docker Image Version Source: https://github.com/googlecloudplatform/cloud-sdk-docker/blob/master/README.md Verifies the installation of a specific stable version of the Google Cloud CLI Docker image by running the 'gcloud version' command within the container. This confirms the image is correctly set up. ```none docker run --rm gcr.io/google.com/cloudsdktool/google-cloud-cli:573.0.0-stable gcloud version ``` -------------------------------- ### Pull the Stable Google Cloud CLI Docker Image Source: https://github.com/googlecloudplatform/cloud-sdk-docker/blob/master/README.md Pulls the stable version of the Google Cloud CLI Docker image from Artifact Registry. Use this command to get the latest stable release. ```none docker pull gcr.io/google.com/cloudsdktool/google-cloud-cli:573.0.0-stable ``` -------------------------------- ### Commit and Tag New SDK Version Source: https://github.com/googlecloudplatform/cloud-sdk-docker/blob/master/MAINTENANCE.md Use this command to commit changes to the Dockerfile and tag the new SDK version. Ensure the VERSION environment variable is set correctly. ```bash export VERSION=160.0.0 git add --all && git commit -m "Update SDK to $VERSION" --allow-empty && \ git tag -a $VERSION -m "v${VERSION}" && \ git push origin master --tags "${VERSION}" ``` -------------------------------- ### Recreate Tagged Version Source: https://github.com/googlecloudplatform/cloud-sdk-docker/blob/master/MAINTENANCE.md This command sequence is used to delete and re-create a git tag for a specific version. This is a sensitive operation and should be done with extreme caution, especially for version-tagged images on Docker Hub, to avoid introducing breaking changes. ```bash export VERSION=160.0.0 git add --all && git commit -m "Re-release tag $VERSION" --allow-empty && \ git tag -d $VERSION; \ git tag -a $VERSION -m "v${VERSION}" && \ git push origin ":${VERSION}" && \ git push origin master --tags ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.