• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Private Registry with self signed certifcate and basic auth
#1
Hello,

is there a chance to pull images from a private registry with self signed certificate and basic authentication?


Thanks in advance,

Jonas
  Reply
#2
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)

  Reply
#3
(October-8th-2018, 02:51 PM)Armin@netPI Wrote: 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

Ok, thanks Armin.

The seld signed certificate, I only have to add under Security --> Public Key Infrastructure --> Root Certtificates?


Regards,

Jonas
  Reply
#4
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)

  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Setup trusted Docker registry on a Raspberry Pi to host netPI containers Armin@netPI 12 652 January-31st-2019, 06:47 PM
Last Post: Armin@netPI
  [SOLVED] Authenticate against Docker Registry PBulach 19 613 September-19th-2018, 12:31 PM
Last Post: Armin@netPI
  Create own trusted Docker registry server Armin@netPI 0 107 January-27th-2018, 02:55 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)