Docker Build Error - Last Activity Time

Hi Team,

I am getting an error while running the build command. Please help me in solving this.

Content in Dockerfile:

FROM node:latest
WORKDIR /app
COPY . .
RUN npm install
EXPOSE 4000
CMD ["node", "app.js"]

Command running in Terminal:

docker build -t myapp .
Error: ERROR: failed to update builder last activity time: open C:\Users\srika\.docker\buildx\activity\.tmp-desktop-linux2899265835: The system cannot find the file specified.

Please let me know if I need to create this file before running the command and if yes, please let me know the reason for this.

Looks like a permission issue, but I can’t give you a better answer for now. Please, share the output of

docker version

and use code blocks like I did above and how I edited your original post.

Example with backticks (not single quotes):

```
docker version
```

Hi,

Thanks for your reply. It was some permission issue with my computer. Everything worked well once I reset my PC. I had some similar issues with other apps and this solved the error.

Thanks,
Srikanth Bhamidipati