containers / ai-lab-recipes

Examples for building and running LLM services and applications locally with Podman
Apache License 2.0
103 stars 106 forks source link

Pull instructlab image with auth, if provided #656

Closed ralphbean closed 2 months ago

ralphbean commented 2 months ago

Upstream, this image can be pulled unauthenticated, but in other environments a user might want to include an image that exists in some repository that requires authentication to pull.

The person building the image needs to provide --secret=id=instructlab-nvidia-pull/.dockerconfigjson,src=instructlab-nvidia-pull/.dockerconfigjson when building the image in order to make the secret available.