• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
create container in Portainer v1.12.4
#1
Hi,

I have a NetPi with Portainer v1.12.4. 

I can't seem to figure out how to start a container from an image that is available on my local docker registry.

I can specify a docker registry, but the NetPi has no way of knowing where to find it. I think I need somehow to specify it's ip address (adding it to /etc/hosts) and its certificate (adding it to /etc/docker/certs.d/<myregistry>/ca.crt).

Am I missing something or is this not possible in this old version?

Thanks,
david.
  Reply
#2
Hi David,

precondition in doing so is to update your netPI to the latest version 1.2.0.0 which includes portainer 1.20.x supporting the feature described below.

Then you need to perform 2 steps:

1. In Portainer there is another tab that is called "Registries". There you can "+add" your personal registry and its IP/URL address under "Custom registry".

2. In order to let the host Linux respectively the Docker daemon accept your registry finally as authenticated you need to upload your certificate onto netPI using the Control Panel tile and the "Security/Public Key Infrastructure" tab. After uploading you need to reset and reboot your netPI.



Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
Thanks, works as advertised!
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  UMTS/LTE support via USB router/modem sticks in a container Armin@netPI 3 149 September-5th-2019, 02:07 PM
Last Post: Armin@netPI
  Exporting and importing container images Armin@netPI 0 19 August-23rd-2019, 10:39 AM
Last Post: Armin@netPI
  Ready-to-deploy: full featured Node-RED container Armin@netPI 5 70 July-25th-2019, 06:16 AM
Last Post: Armin@netPI
  New Container example "OPC UA server" Armin@netPI 0 16 April-12th-2019, 11:51 AM
Last Post: Armin@netPI
  Official Node-RED container Armin@netPI 0 17 April-5th-2019, 10:39 AM
Last Post: Armin@netPI
  Multi-stage builds for slim container images Armin@netPI 0 10 February-7th-2019, 04:14 PM
Last Post: Armin@netPI
Information [INFO] Setting the correct timezone in a container Armin@netPI 0 10 February-3rd-2019, 08:23 AM
Last Post: Armin@netPI
  [SOLVED] Unique identifier in container mmolder 1 25 January-23rd-2019, 03:06 PM
Last Post: Armin@netPI
  [SOLVED] activate LED1/2 with Node-RED + fieldbus nodes container Christian_Rau 5 81 January-11th-2019, 08:06 AM
Last Post: Armin@netPI
  [SOLVED] Portainer.IO. cannot log in JZijlstra 2 60 January-10th-2019, 06:04 PM
Last Post: JZijlstra

Forum Jump:


Users browsing this thread: 1 Guest(s)