deoren / notes

Various notes for topics I'm learning
2 stars 0 forks source link

Docker | Docker Compose start/stop & container/volume persistence #43

Open deoren opened 5 years ago

deoren commented 5 years ago
  1. docker-compose up (without the -d option) starts the process
  2. Ctrl-C stops containers, retaining everything

  3. docker-compose up -d starts everything in the background
  4. docker-compose down destroys containers, unnamed volumes, etc.