Docker process killed with cryptic `Killed` message

Running a python script in a docker container and everything seems to be running smoothly, seeing some STDOUT messages, about 5 minutes in I get a Killed message with no further explanation and the process stops. Querying a db so could be a disk space issue, could be OOM issue. I’m not sure but I have no idea where to find logs about this kill message so I can get to the root of this problem. Any ideas where these logs are?

Running docker-machine on Mac OSX.

  • ECS updating service with same tasks but different docker image
  • docker bind-mounting a managed volume
  • How to exit “docker run” containers once the script those containers execute calls exit()
  • Can't attach terminal to a running container in docker
  • Docker shows inconsistent behaviour when creating container from image
  • Call From quickstart.cloudera/ to quickstart.cloudera:8020 failed on connection exception: Connection refused
  • That’s really all the message says!

    root@c7b800e0f276:/opt/mymodule# python
    Python 2.7.13 (default, May  1 2017, 22:44:36)
    [GCC 4.9.2] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> from mymodule import model
    INFO:Deleting from input table.
    INFO:Inserting into input table.
    INFO:Querying input table for chunk.
    root@c7b800e0f276:/opt/mymodule# exit


  • what is “COPY . /src”for when building a image
  • Decrypting Spring property values In Docker
  • How to run mongo in kubernetes with authentication
  • Docker save file
  • Compiling and running in different containers
  • using a maven docker plugin to commit and save an image on maven release
  • One Solution collect form web for “Docker process killed with cryptic `Killed` message”

    With Docker for Mac, you can get into the host VM namespace with:

    docker run --net=host --ipc=host --uts=host --pid=host -it --security-opt=seccomp=unconfined --privileged --rm -v /:/host alpine /bin/sh

    Then run chroot /host to change root to the host mount. Now, you can use utilities like dmesg to check for any OOM message (like the comments to your question suggest).

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.