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

I think that happens when trying to bootstrap the app in multi-container mode (i.e. not using the standalone.yml config but the web_only.yml and data.yml or any other config which doesn’t setup database and webapp in the same container.

After bootstrapping the container with the database (e.g. ./launcher bootstrap data), you have to start the database container before you can bootstrap the web container (e.g. ./launcher start data before ./launcher bootstrap web_only).

If there is no database access when bootstrapping the web app, you get this (rather hard to understand) error message.