Using Compose, if I run docker-compose build, it will rebuild all the containers :
docker-compose build
> docker-compose build Building elasticsearch
docker-compose up -d --no-deps --build
Source