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

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?

Hi David,

precondition in doing so is to update your netPI to the latest version 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.

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

Thanks, works as advertised!

Possibly Related Threads...
Thread Author Replies Views Last Post
  Exporting and importing container images Armin@netPI 3 46 May-20th-2020, 11:24 AM
Last Post: COswald
Exclamation Creating a container Linnerz 6 40 March-6th-2020, 02:47 PM
Last Post: Armin@netPI
  [SOLVED] activate LED1/2 with Node-RED + fieldbus nodes container Christian_Rau 6 98 October-21st-2019, 10:30 AM
Last Post: Armin@netPI
  Cannot start container Magnus 7 43 October-16th-2019, 01:00 PM
Last Post: Armin@netPI
  Generate VLAN interfaces in container FrankJacob 7 46 September-26th-2019, 03:19 PM
Last Post: Armin@netPI
  UMTS/LTE support via USB router/modem sticks in a container Armin@netPI 3 159 September-5th-2019, 02:07 PM
Last Post: Armin@netPI
  Ready-to-deploy: full featured Node-RED container Armin@netPI 5 90 July-25th-2019, 06:16 AM
Last Post: Armin@netPI
  New Container example "OPC UA server" Armin@netPI 0 25 April-12th-2019, 11:51 AM
Last Post: Armin@netPI
  Official Node-RED container Armin@netPI 0 21 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

Forum Jump:

Users browsing this thread: 1 Guest(s)