The output from which doesn’t look like an issue, that’s just the launcher looking for the right name to use for docker, but lines 2, 3, and 4 of that look like trouble.
flag provided but not defined: --format
See 'docker info --help'.
stat: cannot read file system information for ‘/var/lib/docker/aufs’: No such file or directory
The version of docker found doesn’t seem to be the one launcher expects. AND you don’t seem to have aufs, which is needed for a working Discourse install.
I’m not sure it is aufs. We restored a good backup to another VM and have the service working there. /var/lib/docker/aufs doesn’t exist on that VM. The storage driver on that VM is “devicemapper”. On the copy of the broken production VM (which has other services working on it) I’m trying to setup up Discourse and Docker on a partition with more disk space. That partition was already there and is in use but, I just discovered, is XFS and does not have d_type set. Strangely, without /etc/docker/daemon.json on the working VM the storage driver is devicemapper by default and on the “broken” VM copy it is overlay. I guess this is because docker knows it’s being written to XFS.
Devicemapper is extremely unstable and a bag of suffering. You do not want devicemapper. The party line is that it “works” on Red Hat OSes but… we have not found that to be the case.
After I submitted my initial post I was pointed to similar ones. As a result I re-formatted the bigger disk for XFS with d_type functionality enabled. And we put:
This allowed us to install the container with the base discourse. After we added the socket template we got an error related to Nginx starting up in the container but quickly fixed that. We then restored the Discourse backup and now know how to resurrect the site in production. Thanks for your help.