You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Devpod Version : 0.5.18 Provider: Kubernetes v0.1.14
Is your feature request related to a problem?
I am using Devpod with Kubernetes provider. The trouble is not necessarily related to the provider.
Some users need to launch a pod based on an image from a private image repository. We manage authentication and some images need credentials to be accessed. DevPod tries to access metadata from the image and uses Docker configuration files to get access to the local credentials. In my case only Podman is installed on the local machine so it cannot access podman credentials.
Which solution do you suggest?
Podman should be taken into account as Docker is. Or simply add an environment variable to override the file path completely.
Which alternative solutions exist?
I managed to make it works by setting environment variables :
Hey @toutshuss, thanks for suggesting this improvement.
The easiest solution here would be to use the GetCredentials implementation of the github.com/containers/image project ,which attempts to unify working with images across podman, docker etc, instead of the docker sdk
Devpod Version : 0.5.18
Provider: Kubernetes v0.1.14
Is your feature request related to a problem?
I am using Devpod with Kubernetes provider. The trouble is not necessarily related to the provider.
Some users need to launch a pod based on an image from a private image repository. We manage authentication and some images need credentials to be accessed. DevPod tries to access metadata from the image and uses Docker configuration files to get access to the local credentials. In my case only Podman is installed on the local machine so it cannot access podman credentials.
Which solution do you suggest?
Podman should be taken into account as Docker is. Or simply add an environment variable to override the file path completely.
Which alternative solutions exist?
I managed to make it works by setting environment variables :
DOCKER_CONFIG
:%USERPROFILE%\.config\containers
REGISTRY_AUTH_FILE
:%USERPROFILE%\.config\containers\config.json
I could also have created the symbolic link
%USERPROFILE%\.docker\config.json
pointing to%USERPROFILE%\.config\containers\auth.json
Additional context
The text was updated successfully, but these errors were encountered: