Delete old /var/docker directory

I was just wondering if I can delete an old /var/docker directory without losing any shared data, since Discourse lives in /var/discourse now?

Just check where data is stored in /var/discourse/containers/app.yml. It should have no reference to /var/docker, e.g. this section:

`## These containers are stateless, all data is stored in /shared
volumes:

  • volume:
    host: /var/discourse/shared/standalone
    guest: /shared
  • volume:
    host: /var/discourse/shared/standalone/log/var-log
    guest: /var/log
    `
1 Like