nuclio
nuclio copied to clipboard
Wrong instructions for deploying functions with nuctl using DockerHub
The instructios say:
Note: If you are using Docker Hub, the URL here includes your username - registry.hub.docker.com/<username>.
But, actually it should be just the username without the "registry.hub.docker.com/" prefix. Also, it's worth mentioning that you should do docker login
before trying to deploy a function.
Hi @the-gigi
I know this CAN be done with just your username, but that's an alias.
You can (arguably, SHOULD) provide the full address as was mentioned.
About which full hostname should be used for dockerhub - ahh now, that was a subject of some discussion over the years and some addresses go invalidated and so on (unrelated to nuclio of course). Since you wrote this we changed the docs to docker.io/<username>
which is AFAIK is the latest correct answer to this issue.
As per noting to the user about the existence of docker login
- we'll add. we're in the process of reworking some of nuctl
logs as we speak
Hi @omesser
I have followed the documentation to do the deployment using Kubernetes credential and it doesn't work. I get the following error:
stderr:
denied: requested access to the resource is denied
/nuclio/pkg/cmdrunner/cmdrunner.go:124
Failed to push image
/nuclio/pkg/dockerclient/shell.go:137
Failed to push docker image into registry
.../pkg/containerimagebuilderpusher/docker.go:61
Failed to build processor image
/nuclio/pkg/processor/build/builder.go:250
I have tried several combinations when creating the credential but they don't work. I have followed the docker.io/