Failed in deploying docker image one One

Dear All

I have a fresh install of opennebula V6.6 on debian 11. and already able to login to sunstone.

I try to follow on how to deploy a Nginx docker image as shown at OpenNebula - Deploying Docker Images with Firecracker - YouTube

First try I got error

Thu Jun  8 11:21:40 2023 : Error copying image in the datastore: INFO: cp: Copying local image docker://nginx:stable-alpine?size=1024&filesystem=ext4&format=raw&distro=alpine to the image repository ERROR: cp: Command "set -e -o pipefail; /var/lib/one/remotes/datastore/fs/../downloader.sh   'docker://nginx:stable-alpine?size=1024&filesystem=ext4&format=raw&distro=alpine' '/var/lib/one//datastores/1/a7302b9ad00b09a6acb08b82c54cd642'" failed: Error: No such object: nginx:stable-alpine:latest jq: error (at <stdin>:1): Cannot iterate over null (null) Error response from daemon: No such image: nginx:stable-alpine Error response from daemon: No such image: nginx:stable-alpine Error copying Error copying docker://nginx:stable-alpine?size=1024&filesystem=ext4&format=raw&distro=alpine to /var/lib/one//datastores/1/a7302b9ad00b09a6acb08b82c54cd642

I read and follow step on Docker Image copying image in the datastore - #4 by OTMANI_Younes to fix the problem.

second try I got error

Thu Jun 8 11:32:54 2023 : Error copying image in the datastore: INFO: cp: Copying local image docker://nginx:stable-alpine?size=1024&filesystem=ext4&format=raw&distro=alpine to the image repository ERROR: cp: Command "set -e -o pipefail; /var/lib/one/remotes/datastore/fs/../downloader.sh 'docker://nginx:stable-alpine?size=1024&filesystem=ext4&format=raw&distro=alpine' '/var/lib/one//datastores/1/99ad0f3fd81314412fb3b89a15c81529'" failed: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? jq: error (at <stdin>:1): Cannot iterate over null (null) Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Error copying Error copying docker://nginx:stable-alpine?size=1024&filesystem=ext4&format=raw&distro=alpine to /var/lib/one//datastores/1/99ad0f3fd81314412fb3b89a15c81529

looks like my docker server not run yet.
Start it using ‘systemctl start docker’

Third try, I got error that looks the same as first try

Thu Jun 8 11:39:43 2023 : Error copying image in the datastore: INFO: cp: Copying local image docker://nginx:stable-alpine?size=1024&filesystem=ext4&format=raw&distro=alpine to the image repository ERROR: cp: Command "set -e -o pipefail; /var/lib/one/remotes/datastore/fs/../downloader.sh 'docker://nginx:stable-alpine?size=1024&filesystem=ext4&format=raw&distro=alpine' '/var/lib/one//datastores/1/6c960c05659d30a18cb0c055e751e4ce'" failed: Error: No such object: nginx:stable-alpine:latest jq: error (at <stdin>:1): Cannot iterate over null (null) Error: No such image: nginx:stable-alpine Error: No such image: nginx:stable-alpine Error copying Error copying docker://nginx:stable-alpine?size=1024&filesystem=ext4&format=raw&distro=alpine to /var/lib/one//datastores/1/6c960c05659d30a18cb0c055e751e4ce

Kindly please tell me what to check, any clue to fix it.

Sincerely
-bino-

You need to make sure the DockerHub marketplace is properly configured.

thankyou for your response.

I try to remove the docker image tag and it downloaded and ready.

-bino-

I have a same problem as you. What do you mean by removing the docker image tag?

@ideree I change

docker://nginx:stable-alpine?size=1024&filesystem=ext4&format=raw&distro=alpine

To

docker://nginx?size=1024&filesystem=ext4&format=raw&distro=alpine