来自守护程序的错误响应:chtimes / var / lib / docker / tmp / docker-export- $:无效参数

时间:2016-04-23 16:27:15

标签: jenkins docker centos

我在Centos 6上运行了docker容器,这里有docker info:

Containers: 14
Images: 115
Server Version: 1.9.1
Storage Driver: devicemapper
 Pool Name: docker-253:0-1568490-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 107.4 GB
 Backing Filesystem: 
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 4.381 GB
 Data Space Total: 107.4 GB
 Data Space Available: 7.429 GB
 Metadata Space Used: 7.205 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.14 GB
 Udev Sync Supported: false
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.82-git (2013-10-04)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.4.1-1.el6.elrepo.x86_64
Operating System: <unknown>
CPUs: 2
Total Memory: 3.856 GiB
WARNING: No swap limit support

我想要docker commitdocker save容器,我可以提交它,但是当我尝试保存它时,它会失败:

Error response from daemon: chtimes /var/lib/docker/tmp/docker-export-$: invalid argument

在容器的config.json中没有创建时间戳,我在github中读到了这个问题,但是在我添加到config.json后它没有改变,我该怎么办? 容器是jenkins cli,我对所有容器都有这个问题。

1 个答案:

答案 0 :(得分:0)

升级你的docker版本可以解决你的问题。