• 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
  Portainer Stack fails to pull from private Registry Andi 5 5,305 February-16th-2022, 09:03 AM
Last Post: Armin@netPI
  TOSILOCK for CONTAINER COswald 3 2,184 July-13th-2021, 11:32 AM
Last Post: Armin@netPI
  Access to RTC from my own container application tad 1 3,522 March-19th-2021, 02:58 PM
Last Post: Armin@netPI
  [SOLVED] Starting services/commands/scripts at startup of a container Jonas.Sellmann@outlook.de 9 6,040 March-9th-2021, 08:47 AM
Last Post: WalterSchaefer
  Portainer password reset r.nilles 1 2,520 January-25th-2021, 11:12 AM
Last Post: Armin@netPI
  OpenVPN container Armin@netPI 0 1,616 January-3rd-2021, 12:13 PM
Last Post: Armin@netPI
  operating Console of a container on netPI connected to Wi-Fi tethering tad 3 2,612 December-3rd-2020, 12:32 PM
Last Post: tad
  NIOT-E-NPIX-4DI4DO with netpi-netx container WalterSchaefer 3 6,481 November-25th-2020, 01:06 PM
Last Post: zen89
  NPIX-4DI4DO and NetPi-Nodered container issues alhammi 4 7,588 November-16th-2020, 01:35 PM
Last Post: alhammi
  Get host MAC via REST API inside container bschandra 4 3,642 November-16th-2020, 09:26 AM
Last Post: bschandra

Forum Jump:


Users browsing this thread: 1 Guest(s)