community.docker icon indicating copy to clipboard operation
community.docker copied to clipboard

Support "docker-compose pull" only

Open trygvis opened this issue 2 years ago • 0 comments

SUMMARY

Support "pull only" for docker compose. I want to pre-fetch the images before starting the services.

In my case the docker-compose up is done through systemd. On new hosts the service startup takes too long because pulling all the images can be slow, resulting in systemd killing and restarting the service.

AFAIKT I can't use state: present or state: absent because that will start/stop the services too. I just want to pull the images.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

docker compose

ADDITIONAL INFORMATION

trygvis avatar Jul 28 '21 08:07 trygvis