docker build inline 命令因进程替换部分而失败

docker build inline 命令因进程替换部分而失败

我想知道为什么这个 docker build 命令失败:

docker build -t inline_img -f <(cat
`FROM node:12`
) .

[+] Building 0.1s (2/2) FINISHED
 => ERROR [internal] load build definition from 11                         0.0s
 => => transferring dockerfile: 55B                                        0.0s
 => CANCELED [internal] load .dockerignore                                 0.0s
 => => transferring context:                                               0.0s
------
 > [internal] load build definition from 11:
------
failed to solve with frontend dockerfile.v0: failed to read dockerfile: error from sender: failed to xattr /dev/fd/11: operation not permitted

这是一个权限问题吗?

相关内容