Hilscher Community Forum
create container in Portainer v1.12.4 - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: create container in Portainer v1.12.4 (/thread-483.html)



create container in Portainer v1.12.4 - dcatteeu - August-29th-2019

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.


RE: create container in Portainer v1.12.4 - Armin@netPI - August-29th-2019

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


RE: create container in Portainer v1.12.4 - dcatteeu - September-9th-2019

Thanks, works as advertised!