I am trying to restart Docker using the command
sudo docker restart a7f8ce75f51f
but I get the following error
Error response from daemon: Cannot restart container a7f8ce75f51f: Cannot kill container
a7f8ce75f51f718c39828ef45e510e5380fee6d768a3496a251469f3afee650c: unknown error after kill:
runc did not terminate sucessfully: container_linux.go:392: signaling init process caused
"permission denied"
: unknown
What could be the reason for this error?
I want to restart the Docker with this Docker Compose file:
version: '3'
services:
prisma:
network_mode: host
image: prismagraphql/prisma:1.34
restart: always
ports:
- "4455:4466"
environment:
PRISMA_CONFIG: |
port: 4466
# uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
# managementApiSecret: my-secret
databases:
default:
connector: mongo
uri: 'mongodb://localhost:27018'