Skip to content

Replace 'docker-compose' with 'docker compose'#3744

Open
lkocman wants to merge 5 commits intomasterfrom
lkocman-patch-1
Open

Replace 'docker-compose' with 'docker compose'#3744
lkocman wants to merge 5 commits intomasterfrom
lkocman-patch-1

Conversation

@lkocman
Copy link
Copy Markdown
Contributor

@lkocman lkocman commented Mar 3, 2026

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

Short description of what this resolves/which issues does this fix?:

Fixes local build instructions for "docker compose"

lkocman added 5 commits March 3, 2026 14:48
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.
```

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)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are also be 100s of other things that can go wrong. We can't mention them all in the README...

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

Successfully merging this pull request may close these issues.

2 participants