Replace 'docker-compose' with 'docker compose'#3744
Open
Conversation
Updated docker-compose commands to use 'docker compose' syntax. Which is how its used nowadays. docker-compose doesn't provide /usr/bin/docker-compose anymore, it's all plugins now.
Add command to install dependencies in development setup
Updated the docker-compose command to use the new syntax.
hennevogel
requested changes
Mar 17, 2026
| ``` | ||
|
|
||
| You might need to remove lock file manually in certain cases, otherwise the app will not start. | ||
| Please make sure that osem is running (e.g. with docker compose up --build) |
Member
There was a problem hiding this comment.
There are also be 100s of other things that can go wrong. We can't mention them all in the README...
| 1. Set up the development environment (only once) | ||
| ```bash | ||
| docker-compose run --rm osem bundle exec rake db:bootstrap | ||
| docker compose run --rm osem bundle install |
Member
There was a problem hiding this comment.
This is not replacing docker-compose but changing what is done. If this is needed, make another PR please...
| ## Note on SELinux | ||
|
|
||
| If you experience build issues related to misisng files. This will be likely related to SELinux. | ||
| Consider temporarily switching it to the permissive mode to eliminate this possiblity. |
Member
There was a problem hiding this comment.
There are also be 100s of other things that can go wrong. We can't mention them all in the README...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated docker-compose commands to use 'docker compose' syntax. Which is how its used nowadays. docker-compose doesn't provide /usr/bin/docker-compose anymore, it's all plugins now.
Checklist
masterbranch.Short description of what this resolves/which issues does this fix?:
Fixes local build instructions for "docker compose"