Shrembo
Shrembo

Reputation: 1011

how to make docker pull the latest version each time the docker-compose up

Is it possible for docker-compose file to pull the latest version each time I run docker-compose up

I now I can execute the pull command before the compose up. but I look to shortcut the steps.

Upvotes: 5

Views: 4293

Answers (2)

Jarl
Jarl

Reputation: 2861

That is unfortunately not possible.

It's a widely requested feature that has been refused by the docker compose developers.

Upvotes: 1

jackops
jackops

Reputation: 886

Try with docker-compose pull && docker-compose up

Upvotes: 3

Related Questions