October-8th-2018, 11:28 AM
Hello,
is there a chance to pull images from a private registry with self signed certificate and basic authentication?
Thanks in advance,
Jonas
October-8th-2018, 02:51 PM
Well Jonas,
the point is that potainer in the current version V1.12.4 used does not offer a web page to enter the basic credentials like user and password. So you have no chance to push it to a privat repo + basic auth.
We will be coming end of november with a new netpi release haveing portainer V1.19.2 implement. With this version it will be definitively work.
Meanwhile you can program portainer's REST API. This REST API calls are redirecting the commands directly to docker running on netPI 1:1. With this REST API you are able to to push to a registry with basic auth.
You find a Node-RED flow as example how to program portainer'S REST API here:
https://forum.hilscher.com/Thread-Managi...ESTful-API. But of course you can use any http client program to send the same commands as well.
Regards
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)
October-9th-2018, 11:18 AM
(This post was last modified: October-9th-2018, 11:23 AM by Armin@netPI.)
Loading from own trusted registry server is explained here in all details already:
https://forum.hilscher.com/Thread-Setup-...containers
In this example a normal Raspberry Pi is hosting the registry. You have to adapt it to your own server that can be any Linux machine ... But the procedure on netPI, importing the certificate, is always the same.
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)