Docker Community Forums

Share and learn in the Docker community.

Can we import OCI bundle ( tar.gz with rootfs and config.json ) to docker engine?

runc

(Dj8887) #1

We are trying to import a OCI compliant bundle directly to docker engine

OCI compliant bundle - sample.tar.gz

sample.tar.gz
config.json
/rootfs

The Image is getting imported, but while we try to start a container with the imported image we receive a error as like below.

rpc error: code = 2 desc = “oci runtime error: exec failed: exec: “bash”: executable file not found in $PATH”

We want to understand, if we could import OCI bundle as tar like above ?
IF not do we need to use only containerd specific cli like ctr to import a OCI bundle ?

Docker version - docker-engine-1.11.2-1.el7.centos.x86_64
RHEL 7.2