How to do docker.login to fetch private image using docker-compose.override.yml

I use docker-compose.override.yml to pull a custom action image from a private docker hub repository. docker.login is required. wondering how to do the docker authentication?

The following code is working for pulling public images from docker. version: ‘3.4’ services: app: #image: ‘rasa/rasa-sdk:latest’ #volumes: # - ‘./actions:/app/actions’ # use a custom action from docker hub registry which built by my git repo workflow image: ‘/:’ expose: - ‘5055’ depends_on: - rasa-production

Welcome to the forum :slight_smile:

Does the docker login command work?

1 Like

works. it is on GCP. problem solved. Thank you very much, Chris!

1 Like