nobody nonroot user in distroless images - Stack Overflow This image say, gcr io distroless base by default has "Config User: 0" and "Config WorkingDir: " config in it and if you don't use USER for switching the user to nonroot user which is defined in it or it will start container with root user
Authenticate to Google Container Registry with Podman The Google Container Registry documentation provides very good help on authenticating to it with Docker Is there a way to do the same with Podman? The Google doc mentions Access Token as a method
How to serve nodejs app using distroless image in Dockerfile? FROM gcr io distroless nodejs:10 COPY --from=build-env app app WORKDIR app CMD ["hello js"] Further, as docs for that specific image on say, the ENTRYPOINT is defined as 'node' for this image, so you should be passing effectively whatever script your 'npm run start' command is calling to kick off
We migrated from container registry to Artifact Registry suggested by . . . As stated in this documentation Artifact Registry gcr io repositories gcr io repositories let Container Registry users maintain their existing Google Cloud infrastructure by storing container images in Artifact Registry and supporting requests to the same gcr io URLs used by Container Registry