I got the next error message when I run docker run -p 3000:3000 myimage
:
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open /proc/sys/net/ipv4/ping_group_range: no such file or directory: unknown.
ERRO[0003] error waiting for container: context canceled
The image I build is:
FROM node:16.13.0
WORKDIR /backoffice
COPY . .
VOLUME .
ENV NEXT_TELEMETRY_DISABLED 1
ENV NODE_ENV="production"
RUN npm install --frozen-lockfile
RUN npm run build
EXPOSE 3000
CMD ["npm", "run", "start"]
I tried restarting docker desktop, re-create the image and re-build it and re-install docker app
I tried with other images without no issues.
I'm running:
OS version: OSX ventura (13.1 (22C65)) on a M1 Docker: 4.16.2 (95914) Xcode: 14.2