Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurator requires compose v1 or --compatibility option #153

Open
1 of 16 tasks
iay opened this issue Aug 24, 2023 · 1 comment
Open
1 of 16 tasks

Configurator requires compose v1 or --compatibility option #153

iay opened this issue Aug 24, 2023 · 1 comment

Comments

@iay
Copy link

iay commented Aug 24, 2023

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 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.

See https://stackoverflow.com/questions/69464001/docker-compose-container-name-use-dash-instead-of-underscore

Lesson Progress

  • Lesson 01 completed or in-progress
  • Lesson 02 completed or in-progress
  • Lesson 03 completed or in-progress
  • Lesson 04 completed or in-progress
  • Lesson 05 completed or in-progress
  • Lesson 06 completed or in-progress
  • Lesson 07 completed or in-progress
  • Lesson 08 completed or in-progress
  • Lesson 09 completed or in-progress
  • Lesson 10 completed or in-progress
  • Lesson 11 completed or in-progress
  • Lesson 12 completed or in-progress
  • Lesson 13 completed or in-progress
  • Lesson 14 completed or in-progress
  • Lesson 15 completed or in-progress
  • Lesson 16 completed or in-progress
@murasaki718
Copy link

murasaki718 commented Aug 26, 2023

I just submitted a fix that helped me - > #154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants