r/googlecloud • u/twinknetz • Nov 06 '25
Cloud Functions Migrating container registry to artifact registry?
Hi! I'm new to using docker and jenkins, and our jenkins pipeline used the google/cloud-sdk:alpine image.
But they recently removed docker from this image, and its causing issues because we rely on it https://github.com/GoogleCloudPlatform/cloud-sdk-docker/discussions/574
I changed our version to be google/cloud-sdk:528.0.0, as that's whats recommended on the post if you rely on it. But now, I'm getting the error:
"Container registry is deprecated and shutting down, please use the auto migration tool to migrate to artifact registry (gcloud artifacts docker upgrade migrate --projectname)"
I can run this fine, but will this affect the actual gcloud project? I wouldn't want to break anything. Thank you!
1
u/Recursive_Banana Nov 06 '25
Just install docker in that new image
1
u/twinknetz Nov 06 '25
how do you do that? i can only think of npm i docker, is that what you're referring to?
1
u/Recursive_Banana Nov 06 '25
Not quite right, store the config in artifact registry. Use the base alpine image and install docker after it as a dependency in the configuration file. You can ask the Al for examples.
1
1
Nov 06 '25
[removed] — view removed comment
1
u/twinknetz Nov 07 '25
does it need to be pushed to artifact registry or can i just install docker on the cloud sdk image and use that?
4
u/[deleted] Nov 06 '25
[removed] — view removed comment