K
K
Katya Fenchenko2020-11-24 20:58:24
npm
Katya Fenchenko, 2020-11-24 20:58:24

It is not possible to create a Docker image, everything breaks on the npm install command. What needs to be fixed?

I have this Dockerfile
FROM node:14

WORKDIR /app

COPY . /app

RUN npm install

EXPOSE 80

CMD ["node", "serve.js"]

run docker build . and me errors like this
Step 4/6 : RUN npm install
---> Running in a4a354d8f1ce
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

added 50 packages from 37 contributors and audited 51 packages in 2.486s
found 0 vulnerabilities

The command '/bin/sh -c npm install' returned a non-zero code: 4294967295: failed to shutdown container: container a4a354d8f1ce7a192cbbe03674b7f2806e49dffcdaaeb07de534f6cb39204890 encountered an error during hcsshim::System::waitBackground: The failure in a Windows machine call or container with the specified identifier is not running. (0xc0370110): subsequent terminate failed container a4a354d8f1ce7a192cbbe03674b7f2806e49dffcdaaeb07de534f6cb39204890 encountered an error during hcsshim::System::waitBackground: failure in
a Windows system call: The virtual machine or container with the specified identifier is not running. (0xc0370110)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Bredikhin, 2020-11-25
@MaximBredikhin

Is Docker running on a computsker?

R
Roman Mirilaczvili, 2020-11-25
@2ord

I understand that the error has not been corrected.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question