docker-compose force rebuild

C++
# Build images before starting containers.
docker-compose up --build
# Recreate containers even if configuration/image hasn't changed.
docker-compose up --force-recreatedocker build --no-cache -t u12_core -f u12_core .

Source

Also in C++: