Docker: Error response from daemon: Could not get container for data

Instead of using web_only.yml I switched to standalone.yml and added a remote DB and redis config to it. This worked perfectly.