September-14th-2018, 12:02 PM
No I am sorry to say that RESTful API of portainer in the version 1.12.4 used on netPI does not support this function.
If you read the latest portainer.io API version 1.19.1 located here https://app.swaggerhub.com/apis/devianto...rHubUpdate you can see there is the PUT command to "/dockerhub" where you can set username and password as intended.
But we have scheduled now to include portainer.io in the version 1.19.1 in the next coming release in november anyway. Then it will be possible.
If you read the latest portainer.io API version 1.19.1 located here https://app.swaggerhub.com/apis/devianto...rHubUpdate you can see there is the PUT command to "/dockerhub" where you can set username and password as intended.
But we have scheduled now to include portainer.io in the version 1.19.1 in the next coming release in november anyway. Then it will be possible.
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)