Docker Community Forums

Share and learn in the Docker community.

Compose crashes

(Piotr) #1

Expected behavior

Docker should not restart

Actual behavior

When i try to launch a large compose file with 12 containers (some dbs, elixir apps) very ofter it Docker crashes all on my containers. From my observations it might be linked to networking since very often it crashes during page reload etc. Since pinatta is gonne i can’t test it via nat networking.
On docker-machine i have no such problemes at all. So it might me either networking of filesystem(i’m mounting some volumes… with source code)


  • the output of:

    • Moby Menu > Diagnose & Feedback on OSX
      Docker for Mac: version: mac-v1.12.0-beta16.2
      OS X: version 10.11.5 (build: 15F34)
      logs: /tmp/20160627-172731.tar.gz
      failure: No error was detected
      [OK] docker-cli
      [OK] app
      [OK] menubar
      [OK] virtualization
      [OK] system
      [OK] osxfs
      [OK] db
      [OK] slirp
      [OK] moby-console
      [OK] logs
      [OK] vmnetd
      [OK] env
      [OK] moby
      [OK] driver.amd64-linux
  • a reproducible case if this is a bug, Dockerfiles FTW
    this is impossible since i would have to opensource all my company’s projects ;(

  • page URL if this is a docs issue or the name of a man page

  • host distribution and version ( OSX 10.10.x, OSX 10.11.x, Windows, etc )
    My host is OSX 10.11.5

Steps to reproduce the behavior

(Kyleg) #2

I experience this same problem.

(Ktwalrus) #3

Have you given Docker more than 2GB of memory (the default)?

My apps use more than 2GBs of virtual memory and will crash if the VM runs out of memory.