I have a private docker image on Dockerhub which I can docker pull after using docker login but if I use the Rasa-X quick install with the k3s when I call
sudo kubectl get pods --namespace=rasa
I get a ErrImagePull on the rasa-app and if I query with
sudo kubectl describe pod rasa-app-86694b5bff-r7jqm --namespace=rasa
then I get the following error
Failed to pull image “xxx/yyy:v1”: rpc error: code = Unknown desc = failed to pull and unpack image “docker.io/xxx/yyy:v1”: failed to resolve reference “docker.io/xxx/yyy:v1”: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
I guess although sudo is logged into docker something is stoping this so:
Is it possible to pull a private image from docker using the quick install for rasa x
If not I have the action server set up on another docker machine and exposed so would it be possible to use that as the actions server, I can do it locally on my laptop but guess it’s probably not possible using the quick install either.
As a best practice, I’d suggest generating an access token through the Docker repository to use in place of the password. The access token is a drop-in replacement for the password, so you can use it exactly as shown above. To set this, you’ll need to go into your Account Settings on Docker Hub and you’ll find the Access Token creation option under Security.
You may also find the recently added GitHub Action from Rasa useful for CI/CD of the action server: