runc run failed: unable to start container process: exec: "/bin/sh": stat /bin/sh: no such file or directory
10:27 11 Jan 2023

Hi I am creating an image on docker and below are the commands on Dockerfile

FROM node

WORKDIR /app

COPY . /app

RUN npm install

EXPOSE 80

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

When I run the command Docker build . it gives below response

[+] Building 2.0s (8/8) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                                                                       0.0s
 => => transferring dockerfile: 138B                                                                                                                                                                       0.0s 
 => [internal] load .dockerignore                                                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                                                            0.0s 
 => [internal] load metadata for docker.io/library/node:latest                                                                                                                                             1.0s
 => [internal] load build context                                                                                                                                                                          0.0s
 => => transferring context: 295B                                                                                                                                                                          0.0s 
 => [1/4] FROM docker.io/library/node@sha256:eee19816ad7ae65dbcac037629c355fa4b369d163a660bc9718df8f945e79eeb                                                                                              0.0s 
 => CACHED [2/4] WORKDIR /app                                                                                                                                                                              0.0s 
 => CACHED [3/4] COPY . /app                                                                                                                                                                               0.0s 
 => ERROR [4/4] RUN npm install                                                                                                                                                                            0.7s
------
** > [4/4] RUN npm install:
#8 0.673 runc run failed: unable to start container process: exec: "/bin/sh": stat /bin/sh: no such file or directory**

Can some please guide

I was expecting the image to be built.

docker