Porter Golang library Credentials #1677
Unanswered
martin-schoenegger
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi Martin! Sounds like you are trying to do neat stuff with Porter. 👍 I was wondering if you could explain a bit about what you are trying to do at a higher level? Sounds like perhaps running a docker image isn't available on the environment where you are running the bundle? Just a quick warning that porter build, and porter install/upgrade/uninstall all require being able to run a docker container (because bundles are docker images). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, good evening.
I am trying to use
porter.InstallBundle
from the porter golang library ONLY with provided credentials without the need for being logged in with docker to install a bundle.Is this currently possible? If so, is there somewhere a minimal working example available?
This is my current implementation which works perfectly fine when logged in with
docker login my-registry
The secret is created like this:
I assume the error to be here.
Thank you in advance for your advice and comments.
Ps: I would like to provide fully working examples for the porter golang library as I only found very few during my learning path.
Best regards, Martin
Beta Was this translation helpful? Give feedback.
All reactions