ERROR: failed to solve: archive/tar: unknown file mode ?rwxr-xr-x

Open
#446 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, javascript
Domain
devops

Research direction

The report concerns the app/Dockerfile and the docker build -t getting-started . command after the “Using Bind Mounts” tutorial. First reproduce the build with the listed Dockerfile and collect the missing system details; done means the cause of archive/tar: unknown file mode ?rwxr-xr-x is identified and the tutorial or issue guidance has a clear resolution.

Written by the indexing model from the issue text.

Description

Following tutorial on step 'Using Bind Mounts' I got an error when executing command:

docker build -t getting-started .

Dockerfile in app folder as follows:

FROM node:18-alpine
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]

Container with bind mount is stopped. Applications works well and updating with source code update as described in guide.

Should I provide more system info or it is known what is the reason for an error?

Dominant language
JavaScript
Stars
3.1k
Forks
6.4k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/getting-started

All issues in docker/getting-started

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.