- Update a running container in a docker-compose cluster
- Remote debug on a container (Node.js)
docker-compose up -d --no-deps --build node
...which is equivalent to
# Build
docker-compose build node
# Stop
docker-compose stop node
# Start
docker-compose up -d --no-deps node
- Expose debugger port in docker-compose.yml
- Expose debugger port in Dockerfile
- Don't forget to expose debugging process with 0.0.0.0 to make it available from different IPs