Getting “docker”: executable file not found in $PATH using marathon

I’m trying to launch an app on marathon, here’s it’s json:

{
    "id": "jackex",
    "container": {
        "docker": {
            "image": "ubuntu:14.04"
        },
        "type": "DOCKER",
        "volumes": []
    },
    "cmd": "while sleep 10; do date -u +%T; done",
    "cpus": 0.2,
    "mem": 200,
    "instances": 1
}

But I’m getting the following error on the tasks log:

  • Installing rpy2 with Docker is unable to find R path
  • Raspberry pi zero Docker can't start container
  • Get hostname in Logstash running in a Docker container
  • Different localhost ports causes failed Access-Control-Allow-Origin
  • Changing a postgres containers server port in Docker Compose
  • Docker swarm mode mesh routing is not working at all
  • “docker”: executable file not found in $PATH

    Does anyone knows what’s the problem?

  • Syntax error when adding SSH key in GitLab CI
  • Docker cannot build because can't find matching distribution of a requirement
  • Start sshd automatically with docker container
  • How to dockerize my play scala app?
  • installing Node modules on Docker: why are they disappearing?
  • Redis keys melting and not adding up
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.