Phase > <@gitter_niuziyuanpy:matrix.org> [graphdriver] prior storage driver overlay2 failed: driver not supported
If I remember correctly, I got this after an upgrade of docker. Luckily, thx to the upgrade, they were no container needed on the machine. Thus, I moved the content of /var/lib/docker to somewhere else. A reboot of the docker daemon later, the daemon started correctly. Be careful, it had lost all its images.
HaleyOnly way to cope with that, is:
Haley1. Before the upgrade of the OS/Docker version, save all layers/images you need as tar files using the save command.
Haley2. upgrade the OS, but remove docker
Haley3. delete /var/lib/docker
Haley4. install docker again (new version). make sure it runs.
Haley5. Import the saved images
PhaseI never had this issue to create the DOCKER chain...
PhaseCan you do it by hand? With root user? The command line it gives looks valid. I would try a:
sudo iptables -t nat -N DOCKER
i create a dockerfile based of node
FROM node:12.18.1 RUN mkdir /usr/local/src/app \ && mkdir /usr/local/src/app/node_modules \ && chown node /usr/local/src/app \ && chown node /usr/local/src/app/node_modules WORKDIR /usr/local/src/app COPY app-scripts /usr/local/src/app-scripts COPY package.json . COPY package-lock.json . RUN npm -v CMD [ "node" ]
I wanted to leave it installable in a docker-composes file with the following execution
api: image: my-image-node:0.0.1 build: context: . dockerfile: Dockerfile.dev command: npm install && npm run start:dev environment: NODE_ENV: development BUILD_ENV: development
when i launch the server i got this error
id: 'npm': no such user
is there someone who can help me? Thanks