我想在亚马逊的弹性文件系统(EFS)上使用docker,所以我在EC2机器上安装了EFS,并在docker配置文件中设置了一个efs-folder作为docker根文件夹,但是当我想创建一个映像时,我得到了这个错误:
Step 1 : FROM ubuntu:14.04
14.04: Pulling from library/ubuntu
862a3e9af0ae: Extracting [==================================================>] 65.7 MB/65.7 MB
6498e51874bf: Download complete
159ebdd1959b: Download complete
0fdbedd3771a: Download complete
7a1f7116d1e3: Download complete
failed to register layer: Error processing tar file(exit status 1): errno 524
在Docker日志中,我得到这个错误:
Error trying v2 registry: failed to register layer: Error processing tar file(exit status 1): errno 524
Attempting next endpoint for pull after error: failed to register layer: Error processing tar file(exit status 1): errno 524
你知道我该怎么解决吗?
1条答案
按热度按时间z9smfwbn1#
我通过在
docker daemon
命令中添加-s devicemapper
解决了这个问题,如以下问题中所述:New Docker versions cannot host datastore on NFS share