• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Docker push
#1
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_typo3fo...4e1028bb99

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
  Reply
#2
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



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

  Reply
#3
(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.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [SOLVED] Docker issues AlexRegev 6 179 June-18th-2019, 06:49 PM
Last Post: AlexRegev
  docker timing MGharat 2 32 June-13th-2019, 08:57 AM
Last Post: Patrick@netPI
  Launching multi-containers at a time - Docker stacks Armin@netPI 0 18 June-4th-2019, 04:11 PM
Last Post: Armin@netPI
  [INFO]Docker DNS server Armin@netPI 0 17 March-7th-2019, 09:02 AM
Last Post: Armin@netPI
  [SOLVED] node-red Dashboard Docker Image for netPI? anrodriguez 1 22 February-7th-2019, 05:35 PM
Last Post: Armin@netPI
  Setup trusted Docker registry on a Raspberry Pi to host netPI containers Armin@netPI 12 633 January-31st-2019, 06:47 PM
Last Post: Armin@netPI
Information netPI Docker REST API for versions >= V1.1.4.0 Patrick@netPI 0 42 January-29th-2019, 01:40 PM
Last Post: Patrick@netPI
  [SOLVED] Keep getting a message that session expired in Docker SteveO 2 41 January-24th-2019, 11:50 AM
Last Post: Armin@netPI
  [SOLVED] Running Eclipse inside Docker Rahulsagar 6 52 January-21st-2019, 04:03 PM
Last Post: Rahulsagar
  [SOLVED] Authenticate against Docker Registry PBulach 19 611 September-19th-2018, 12:31 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)