0

I am wondering why this docker build command fails:

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 

is this a perms issue?

2
  • same error with a one-liner: docker build -t inline_img:latest -f <(cat `FROM node:12`) . Commented Aug 31, 2023 at 20:20
  • and same with: docker build -t inline_img:latest -f <(echo 'FROM node:12') . Commented Aug 31, 2023 at 20:23

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.