dumb-init No such file or directory

I am trying to use dumb-init to run a script that tests a jetty servlet in my docker container, but whenever I try to call dumb-init it fails with the message:

local-test | [dumb-init] /var/lib/jetty/testrun.bash: No such file or directory

But if I use bash instead of dumb-init it happily runs. The file exists and has the correct permissions. I even stripped out the execution and just left the bang and an echo statement and it fails the same way. The script looks like:

  • Visual Studio 2017 Docker project on Windows volumes issue
  • Developing Puppet locally using Vagrant + Docker
  • nginx as load balancer: upstream with path
  • Specify container deployment target with Kubernetes, e.g. Test/Production
  • How to move Marathon to docker at AWS?
  • DB2 docker Shared memory segments cannot be allocated
  • #!/bin/dumb-init /bin/bash
    echo "Tests Running!"

    Any thoughts?

  • How to get stdin from php for java docker container at runtime
  • Cannot start container: [8] System error: exec format error
  • Unable to install docker-compose with pip, “ImportError: No module named dockerpycreds”
  • Dokku / Docker deployment of non-http nodejs app
  • Exposing spring boot random server port using docker
  • Docker project structure with git submodules
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.