Hilscher Community Forum
Docker push - 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: Docker push (/thread-209.html)



Answer - SebastianSoller - April-18th-2018

If i try to backup an image in the Netpi to my repository i alway instantly get the message image pushed succesfully, but if i check the repository on dockerhub the pushed image does not exist. Pushing from the raspberry is working fine. Is this due to the missing login as described in this topic:
https://www.netiot.com/forum/?tx_typo3forum_pi1%5Btopic%5D=87&tx_typo3forum_pi1%5Baction%5D=show&tx_typo3forum_pi1%5Bcontroller%5D=Topic&cHash=7fb05688e916b697ae544d4e1028bb99

Is it possible to push without the login by a setting on Dockerhub or is there a way to view the existing images in the docker build environment and push it from there?

Thanks in advance
Sebastian


Answer - Armin@netPI - April-18th-2018

Hello Sebastian,

this indeed a gap on netPI you have detected. The push service implemented today in portainer IO comes without any possibility to specify user name and password for a repository on the www. This is why the push internally will fail cause web GUI portainer uses the admin login and password you assigned during the first boot procedure of netPI. And usually the admin login is not the same as on your Docker Hub repo.

We have defined netPI as a Docker Host only, means the development platform for netPI will be an original Pi 3 for 30,-EUR where you can push, login, pull as you want. So as the software comes today you have no possibility to push from netPI to a repository.

Since we have also detect that netPI needs to be a full featured platform for Docker in near future we have started development of PKI certificate handling, update to a new portainer version and also to a LDAP user management which is precondition for the usage of the latest portainer version. All in sum we have a timeline for 30'th june to implement PKI certificate handling which enables the pull from local repositories in the first instance and then additional 4 week to roll out portainer and LDAP function.

So until then you have no chance to to pull from netPI.

Thx
Armin






RE: Docker push - Armin@netPI - August-22nd-2018

(April-18th-2018, 08:41 AM)SebastianSoller Wrote: Is it possible to push without the login by a setting on Dockerhub or is there a way to view the existing images in the docker build environment and push it from there?

Sebastian please follow my latest port here https://forum.hilscher.com/thread-309.html. It allows to use the RESTful API of portainer and here pushing images to other registries is possible.