我想使用docker和amazon的弹性文件系统(EFS)。所以我将EFS安装在EC2机器上,并将一个efs文件夹设置为docker配置文件中的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
我有什么想法可以解决这个问题吗?
答案 0 :(得分:3)
我通过将-s devicemapper
添加到docker daemon
命令解决了问题,如问题中所述:New Docker versions cannot host datastore on NFS share