The most important part is the very end: Are you trying to mount a directory onto a file
Problem is fixed with newer installation, but older ones experiencing this need to run the following commands:
cd /etc/egroupware-docker
docker-compose stop watchtower
docker-compose rm -f watchtower
rm -rf /root/.docker/config.json
echo "{}" > /root/.docker/config.json
docker-compose up -d
What does that do?
It deletes the directory Docker created, as you had no config.json file. Then it creates an empty one and starts everything up again.
Ralf