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