You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Docker Desktop v4.22.0 under macOS. This version of Desktop ships with Compose v2, which by default creates container names like workshop-mattermost-1. The configurator expects the Mattermost container to be called workshop_mattermost_1, which is what Compose v1 used to do.
The result of this is that the configurator fails while trying to initialise the Mattermost container (and is continuously restarted). Mattermost displays a registration page rather than the login page, and it's not possible to log in.
Suggested Improvement
Ideally, the configurator should work with either container naming scheme.
A workround is to use the docker compose --compatibility option when bringing the stack up. This causes Compose v2 to operate in a compatibility mode in which the old container and volume naming conventions are used.
Feedback
I'm using Docker Desktop v4.22.0 under macOS. This version of Desktop ships with Compose v2, which by default creates container names like
workshop-mattermost-1
. The configurator expects the Mattermost container to be calledworkshop_mattermost_1
, which is what Compose v1 used to do.The result of this is that the configurator fails while trying to initialise the Mattermost container (and is continuously restarted). Mattermost displays a registration page rather than the login page, and it's not possible to log in.
Suggested Improvement
Ideally, the configurator should work with either container naming scheme.
A workround is to use the
docker compose --compatibility
option when bringing the stack up. This causes Compose v2 to operate in a compatibility mode in which the old container and volume naming conventions are used.See https://stackoverflow.com/questions/69464001/docker-compose-container-name-use-dash-instead-of-underscore
Lesson Progress
The text was updated successfully, but these errors were encountered: