Category: docker

Rebuilding single services in docker-compose

Note to self: a single service ("container") out of a docker-compose.yaml file is rebuilt and restarted like this: docker-compose build docker-compose up -d # runs containers, but returns immediately # Oops, something needs to be changed docker-compose stop web # Make changes docker-compose build web docker-compose up -d --no-recreate web As Daniel Nephin writes here: … Continue reading Rebuilding single services in docker-compose