0

我正面临这个奇怪的问题,花了三天后没有任何线索。我尝试将 docker 数据目录/var/lib/docker/data/docker. /data 挂载点设置了 rw,exec 权限。但是当我尝试运行它给出的容器时:standard_init_linux.go:211: exec 用户进程导致“权限被拒绝”

但是当我将 docker 数据目录移动到 /var/lib/docker 时,docker run 命令可以正常工作。我曾多次尝试重新安装 docker,但仍然面临同样的错误。

操作系统:CentOS 7 Docker 版本:19.03.14

在调试模式下,我得到以下信息:

INFO[2021-01-02T10:30:25.848427411-05:00] loading plugin "io.containerd.content.v1.content"... type=io.containerd.content.v1 INFO[2021-01-02T10:30:25.848505217-05:00] loading plugin "io.containerd.snapshotter.v1.btrfs"... type=io.containerd.snapshotter.v1 INFO[2021-01-02T10:30:25.848789449-05:00] skip loading plugin "io.containerd.snapshotter.v1.btrfs"... error="path /data2/docker2/containerd/daemon/io.containerd.snapshotter.v1.btrfs (xfs) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1 INFO[2021-01-02T10:30:25.848817180-05:00] loading plugin "io.containerd.snapshotter.v1.devmapper"... type=io.containerd.snapshotter.v1 WARN[2021-01-02T10:30:25.848840183-05:00] failed to load plugin io.containerd.snapshotter.v1.devmapper error="devmapper not configured" INFO[2021-01-02T10:30:25.848851404-05:00] loading plugin "io.containerd.snapshotter.v1.aufs"... type=io.containerd.snapshotter.v1 INFO[2021-01-02T10:30:25.855513060-05:00] skip loading plugin "io.containerd.snapshotter.v1.aufs"... error="modprobe aufs failed: \"modprobe: FATAL: Module aufs not found.\\n\": exit status 1: skip plugin" type=io.containerd.snapshotter.v1 INFO[2021-01-02T10:30:25.855547154-05:00] loading plugin "io.containerd.snapshotter.v1.native"... type=io.containerd.snapshotter.v1 INFO[2021-01-02T10:30:25.855579299-05:00] loading plugin "io.containerd.snapshotter.v1.overlayfs"... type=io.containerd.snapshotter.v1 INFO[2021-01-02T10:30:25.855644014-05:00] loading plugin "io.containerd.snapshotter.v1.zfs"... type=io.containerd.snapshotter.v1 INFO[2021-01-02T10:30:25.855831659-05:00] skip loading plugin "io.containerd.snapshotter.v1.zfs"... error="path /data2/docker2/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1 INFO[2021-01-02T10:30:25.855849335-05:00] loading plugin "io.containerd.metadata.v1.bolt"... type=io.containerd.metadata.v1 WARN[2021-01-02T10:30:25.855866391-05:00] could not use snapshotter devmapper in metadata plugin error="devmapper not configured"

有人可以帮我吗?提前致谢!

4

1 回答 1

0

在花了几天时间试图解决这个问题之后,我终于发现是 Vormetrics 导致了这个问题,尽管没有启用加密,但它并没有让容器运行。

于 2021-01-08T16:03:27.677 回答