docker run命令失败

时间:2018-09-24 17:32:20

标签: docker ubuntu-16.04

我正尝试如下运行作为守护程序的容器:

WITH
  duplication_counts AS
(
  SELECT
    *,
    COUNT(*) OVER (PARTITION BY aux_id)   AS aux_id_occurrences
  FROM
    my_table
)
SELECT
  *
FROM
  duplication_counts
WHERE
  aux_id_occurrences > 1

从上面可以看到,docker run cmd返回一个长字符串,但是从$docker run --privileged --net=host -d d34f188005c4 34045723709f3553533a1c823800697e55d43a7e676499310751f7116d3a1068 $docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 输出中可以看到,它无法运行。此外,在执行上述docker ps cmd的过程中,我从系统日志中获取以下信息:

docker run

内核/ docker版本和其他必需信息如下:

kernel: [281942.173389] aufs au_opts_verify:1597:dockerd[21361]: dirperm1 breaks the protection by the permission bits on the lower branch

有人可以让我知道如何解决此问题吗?我们可以从上面的系统日志中获得任何线索吗?如果需要其他任何信息,请告诉我。

根据以下评论添加其他信息:

# docker info
Containers: 3
 Running: 0
 Paused: 0
 Stopped: 3
Images: 1
Server Version: 17.03.0-ce
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 8
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 977c511eda0925a723debdc94d09459af49d082a
runc version: a01dafd48bc1c7cc12bdb01206f9fea7dd6feb70
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-116-generic
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.67 GiB
Name: ubuntu1604
ID: B35S:GX2J:VTYF:HKJ2:KMIP:SU35:YCSV:YHM2:R6L5:K7CW:4ZUV:EYGX
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

0 个答案:

没有答案