Docker plugin getting error "OCI runtime create failed: "

What is the problem you are having with rclone?

running
docker plugin install rclone/docker-volume-rclone:amd64 args="-v" --alias rclone --grant-all-permissions
outputs the following error

amd64: Pulling from rclone/docker-volume-rclone
Digest: sha256:dd64dace6106c548bb75419fab36b6c04ca2394e542e10490e08ce62581f26c4
65cdd3e5660b: Complete
Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/var/lib/docker-plugins/rclone/config" to rootfs at "/data/config" caused: stat /var/lib/docker-plugins/rclone/config: no such file or directory: unknown

i removed docker, reinstalled it, tried again and now getting same basic error but different folder

docker plugin enable rclone
Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/etc/rclone" to rootfs at "/data/config" caused: stat /etc/rclone: no such file or directory: unknown

and here is some other output, might provide more detail


docker version
Client: Docker Engine - Community
 Version:           20.10.12
 API version:       1.41
 Go version:        go1.16.12
 Git commit:        e91ed57
 Built:             Mon Dec 13 11:45:33 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.11
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.9
  Git commit:       847da18
  Built:            Thu Nov 18 00:35:39 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.12
  GitCommit:        7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc:
  Version:          1.0.2
  GitCommit:        v1.0.2-0-g52b36a2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

user01@wsl01:~$ sudo mkdir -p /var/lib/docker-plugins/rclone/config
user01@wsl01:~$ sudo mkdir -p /var/lib/docker-plugins/rclone/cache
user01@wsl01:~$ docker plugin install rclone/docker-volume-rclone:amd64 args="-v" --alias rclone --grant-all-permissions
amd64: Pulling from rclone/docker-volume-rclone
Digest: sha256:dd64dace6106c548bb75419fab36b6c04ca2394e542e10490e08ce62581f26c4
65cdd3e5660b: Complete
Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/var/lib/docker-plugins/rclone/config" to rootfs at "/data/config" caused: stat /var/lib/docker-plugins/rclone/config: no such file or directory: unknown

ls -alR /var/lib/docker-plugins/rclone
/var/lib/docker-plugins/rclone:
total 16
drwxrwxrwx 4 root root 4096 Dec 27 16:37 .
drwxrwxrwx 3 root root 4096 Dec 27 16:37 ..
drwxr-xr-x 2 root root 4096 Dec 27 16:37 cache
drwxrwxrwx 2 root root 4096 Dec 27 17:04 config

/var/lib/docker-plugins/rclone/cache:
total 8
drwxr-xr-x 2 root root 4096 Dec 27 16:37 .
drwxrwxrwx 4 root root 4096 Dec 27 16:37 ..

/var/lib/docker-plugins/rclone/config:
total 40
drwxrwxrwx 2 root root  4096 Dec 27 17:04 .
drwxrwxrwx 4 root root  4096 Dec 27 16:37 ..
-rwxrwxrwx 1 root root 30003 Dec 26 15:14 rclone.conf

What is your rclone version (output from rclone version)

docker run --rm rclone/rclone:latest version
rclone v1.57.0
- os/version: alpine 3.14.2 (64 bit)
- os/kernel: 5.10.60.1-microsoft-standard-WSL2 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none
rclone version
rclone v1.57.0
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.10.60.1-microsoft-standard-WSL2 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

none, just trying to install the docker plugin

The command you were trying to run (eg rclone copy /tmp remote:tmp)

docker plugin install rclone/docker-volume-rclone:amd64 args="-v" --alias rclone --grant-all-permissions

The rclone config contents with secrets removed.

not about the rclone.conf file, unless you tell me otherwise.

A log from the command with the -vv flag

sorry, no rclone log, as not running rclone command

Seems to be a known issue.

ok, thanks, at least i am not alone....

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.