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

Docker example updates #4050

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jefftmahoney
Copy link
Contributor

Overview

Docker Invocation

Adding a note to the README file for the "sample" directory to alert readers that it might, depending upon their system setup, be necessary to invoke docker compose rather than docker-compose when running the examples.

@@ -7,6 +7,9 @@ The Sample describes several demos of quickly spinning up different Prebid Serve
In the Sample, we use `docker` and `docker-compose` to instantiate examples; with docker providing a unified setup and interface, you can spin up a demo server instance locally with only one command without knowing all the complexities.
The docker image used in `docker-compose.yml` is the `Dockerfile` residing in the root level of the repository.

> [!NOTE]
> Depending on what version of Docker is installed on your system, `docker-compose` might be considered deprecated. If you receive an error when trying to run `docker-compose`, use `docker compose` (without the dash) instead.

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point!
Do you think it will give more context if we modify it to this:

Depending on what version of Docker is installed on your system, `docker-compose` might be considered deprecated.

Run `docker-compose` for docker compose version 1.X.
Run `docker compose` (without the dash) for docker compose versions 2.X and 3.X. 

For more details please refer to the [History and development of Docker compose](https://docs.docker.com/compose/intro/history/). 

I'm open to approve it as is. This is a minor suggestion.

@VeronikaSolovei9 VeronikaSolovei9 self-assigned this Nov 22, 2024
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