There are scope of services which defined in docker-compose.yml. These service have been started. I need to rebuild only one of these and start it without up other services. I r
For me it only fetched new dependencies from Docker Hub with both --no-cache and --pull (which are available for docker-compose build.
--no-cache
--pull
docker-compose build
# other steps before rebuild docker-compose build --no-cache --pull nginx # rebuild nginx # other steps after rebuild, e.g. up (see other answers)