Docker Community Forums

Share and learn in the Docker community.

Error response from daemon: Container command '/bin/bash' not found or does not exist

In contrast to other questions about this error message, I get this message when trying to run an official Ubuntu image I pulled from hub. And I think this image should be OK, probably dozens or hundreds of people must be using it. Inspect yields the following:

[
{
    "Id": "sha256:a853da0720558570f97482318ab95dedf9fa224fd8a96e7efadea8bdd438d22f",
    "RepoTags": [
        "ubuntu:latest"
    ],
    "RepoDigests": [],
    "Parent": "sha256:e3d921a93b337c2f091f75c40f6d2a5f8a19c1f83f3d5493c3c217a84c2d9706",
    "Comment": "",
    "Created": "2015-10-22T21:57:04.876735434Z",
    "Container": "09d03ee5015ac389a9f4753345fe81bd846cc0813c795d28b1d5f60ac1fd38a7",
    "ContainerConfig": {
        "Hostname": "f813a028846a",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": null,
        "Cmd": [
            "/bin/sh",
            "-c",
            "#(nop) CMD [\"/bin/bash\"]"
        ],
        "Image": "ac65c371c3a545a83bfd46bfe1a2f304f85e3bc0f3ed0bc5922fcf6d3edd31be",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "DockerVersion": "1.8.2",
    "Author": "",
    "Config": {
        "Hostname": "f813a028846a",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": null,
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "ac65c371c3a545a83bfd46bfe1a2f304f85e3bc0f3ed0bc5922fcf6d3edd31be",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 187888991,
    "VirtualSize": 187888991,
    "GraphDriver": {
        "Name": "zfs",
        "Data": null
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4a88531d8793568ecf7a781c1ba5246274f39080ce3914600eb6a638a153ed2c",
            "sha256:fdcb6cb7da38d871eb4afcc57b6f7ca1429e9cb0b5d7f4bea770fcf19f7d7302",
            "sha256:babfbae534b9134f054c10f48fc5246c0cdfc3d9847c733d1b307ad9c7c16a4e",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
        ]
    }
}

]

I believe there could be an issue with the storage provided by ZFS, but how to debug that?