Docker-compose –force-recreate specific service

If your service depends on (or links to) other services, you can try:

docker-compose up --force-recreate --no-deps service-name

This will only recreate the specified service, linked or depended services will keep untouched.

Leave a Comment