I am trying to check the integration of OpenNebula 6.8.0 CE with DockerHub and Firecracker.
After enabling the DockerHub marketplace I can see DockerHub images listed.
When I try to download one, the docker image fails to be copied to the image datastore, with the error:
Error response from daemon: No such image: nginx:latest Error copying Error copying docker://nginx?size=3072&filesystem=ext4&format=raw&tag=alpine to /var/lib/one//datastores/1/a3b636a12427fdc81a9f4ea39d8529ad
The docker image is pulled locally and not sure why it is trying to copy a different tag (nginx:latest instead of nginx:alpine).
The same error occurs when I attempt this image creation from command line as below:
I have checked also Docker Image copying image in the datastore topic and have confirmed that I have docker installed and docker.io package also. Also the image datastore I am using is the default from a clean installation as below:
DATASTORE 1 INFORMATION
ID : 1
NAME : default
USER : oneadmin
GROUP : oneadmin
CLUSTERS : 0
TYPE : IMAGE
DS_MAD : fs
TM_MAD : ssh
BASE PATH : /var/lib/one//datastores/1
DISK_TYPE : FILE
STATE : READY
DATASTORE CAPACITY
TOTAL: : 196.3G
FREE: : 102.2G
USED: : 85.1G
LIMIT: : -
PERMISSIONS
OWNER : um-
GROUP : u--
OTHER : ---
DATASTORE TEMPLATE
ALLOW_ORPHANS="YES"
CLONE_TARGET="SYSTEM"
DISK_TYPE="FILE"
DS_MAD="fs"
LN_TARGET="SYSTEM"
RESTRICTED_DIRS="/"
SAFE_DIRS="/var/tmp"
TM_MAD="ssh"
TYPE="IMAGE_DS"
Also I have set oneadmin as a member of the docker group and I can run docker commands as oneadmin user.
Sounds like a combination of bugs that were fixed on 6.8.1. To fix them you can replace /var/lib/one/remotes/datastore/docker_downloader.sh with the master version.