Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker Error Using Docker Hub

Featured Replies

Hello,

When trying to add a docker container from docker hub I'm getting this error:

Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "./docker-entrypoint.sh": stat ./docker-entrypoint.sh: no such file or directory: unknown.

I'm not sure what it is trying to tell me. I would expect all of this to be handled in the "docker file" ?

Here is the docker I'm trying to add:
https://hub.docker.com/layers/jamesbrooks/perforce-server/latest/images/sha256-7c687f1e19cca773b8c2b05db55cd3b55960ca505ddb87a54696a14bb58d07e8

Here is the full log:

docker run
  -d
  --name='perforce-server'
  --net='bridge'
  --pids-limit 2048
  -e TZ="America/Los_Angeles"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="Unraid01"
  -e HOST_CONTAINERNAME="perforce-server"
  -e 'NAME'='perforce-server'
  -e 'P4NAME'='master'
  -e 'P4TCP'='1666'
  -e 'P4PORT'='1666'
  -e 'P4USER'='admin'
  -e 'P4PASSWD'='pass12349ers'
  -e 'P4CASE'='-C0'
  -e 'P4CHARSET'='utf8'
  -e 'JNL_PREFIX'='master'
  -e 'P4HOME'='/p4'
  -e 'P4ROOT'='/p4/root'
  -e 'P4DEPOTS'='/p4/depots'
  -e 'P4CKP'='/p4/checkpoints'
  -e 'Community_Applications_Conversion'='true'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.icon=''
  -p '1666:1666/tcp'
  -v '/mnt/user/Perforce/':'/p4':'rw'
  -v '/mnt/user/Perforce/':'/data':'ro' 'jamesbrooks/perforce-server:latest'

c8a9b5b637fe33858c1dc7a82062c0c944d4733e9925df3721aa9f1ea9a05f15
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "./docker-entrypoint.sh": stat ./docker-entrypoint.sh: no such file or directory: unknown.

The command failed.

when I inspect the image I see this:

root@Unraid01:~# docker image inspect jamesbrooks/perforce-server:latest
[
    {
        "Id": "sha256:7ea652a7b1f880ccba18899cc1196199354988639bf4715b3a20a5fb48d4a70a",
        "RepoTags": [
            "jamesbrooks/perforce-server:latest"
        ],
        "RepoDigests": [
            "jamesbrooks/perforce-server@sha256:7c687f1e19cca773b8c2b05db55cd3b55960ca505ddb87a54696a14bb58d07e8"
        ],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2025-05-15T11:08:52.237953333+09:30",
        "DockerVersion": "",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "1666/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "NAME=perforce-server",
                "P4NAME=master",
                "P4TCP=1666",
                "P4PORT=1666",
                "P4USER=admin",
                "P4PASSWD=pass12349ers",
                "P4CASE=-C0",
                "P4CHARSET=utf8",
                "JNL_PREFIX=master",
                "P4HOME=/p4",
                "P4ROOT=/p4/root",
                "P4DEPOTS=/p4/depots",
                "P4CKP=/p4/checkpoints"
            ],
            "Cmd": null,
            "Healthcheck": {
                "Test": [
                    "CMD-SHELL",
                    "p4 info -s > /dev/null || exit 1"
                ],
                "Interval": 120000000000,
                "Timeout": 10000000000
            },
            "Image": "",
            "Volumes": {
                "/p4": {}
            },
            "WorkingDir": "",
            "Entrypoint": [
                "./docker-entrypoint.sh"
            ],
            "OnBuild": null,
            "Labels": {
                "maintainer": "Joe Chen ([email protected])",
                "org.opencontainers.image.ref.name": "ubuntu",
                "org.opencontainers.image.version": "20.04",
                "vendor": "Sourcegraph"
            }
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 246442726,
        "GraphDriver": {
            "Data": null,
            "Name": "btrfs"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:470b66ea5123c93b0d5606e4213bf9e47d3d426b640d32472e4ac213186c4bb6",
                "sha256:860af793411e0855b6d159885ff16611117eb991f03758760d1b29e1bc153991",
                "sha256:c962e835273a76da6a9547c42ce7b1b58d3735ef3ffdfe42640d69c0a4ea8c3e",
                "sha256:fefc3d207f470aa6dcb07a2cf957c6195b6abe475d2a3030cc0c9419e7489646",
                "sha256:20a173453f94e831ae83d7f1e9b082d7f2ef6ea46e62832a4c9c175ee3dbd40e",
                "sha256:c042112255e331101355d8bbc676aad6237d7a9b9e973c5922f463d6d2b2c51d",
                "sha256:63dda9147763c762c62d35d7900bfa0574dc49583f3d3d041b09b3cec8fcefa6",
                "sha256:e3e1b1d90234d45f9893298bf1f84e2cd7b295103a5916e7a49871b4b41be375"
            ]
        },
        "Metadata": {
            "LastTagTime": "0001-01-01T00:00:00Z"
        }
    }
]

Edited by Snipe3000
New info

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.