Can't start docker

when I run "docker-compose up -d“, then

Starting storj ... error

ERROR: for storj  Cannot start service storj: failed to initialize logging driver: database is locked

ERROR: for storj  Cannot start service storj: failed to initialize logging driver: database is locked
ERROR: Encountered errors while bringing up the project.

Please post your docker-compose.yaml file

I use this config about 1 month. today docker crashed

version: "3.5"

services:
  storj:
    image: storjlabs/storagenode:latest
    network_mode: "host"
    container_name: storj
    volumes:
      - type: bind
        source: /volume1/storj/app/identity
        target: /app/identity
      - type: bind
        source: /volume1/storj/app/config
        target: /app/config
    environment:
      - WALLET="*****"
      - EMAIL="*****"
      - ADDRESS="*****:28967"
      - STORAGE="1TB"
      - http_proxy=http://127.0.0.1:10801
      - https_proxy=http://127.0.0.1:10801

Then perhaps it’s related so some updates either for docker or your OS. I could only suggest to try to restart the docker service

sudo systemctl restart docker

or even reboot your server.

It is Synology docker’s problem.
I delete the docker, then rebuild it to solve.
refer:

1 Like