docker compose rebuild single image code example Example: docker compose rebuild image $ docker-compose up -d --no-deps --build <service_name>