Skip to content

fix(docker-compose): re-running up.sh after clean.sh raises an error #1842

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

Merged
merged 5 commits into from
Oct 8, 2024

Conversation

misba7
Copy link
Contributor

@misba7 misba7 commented Oct 3, 2024

closes #1841

@misba7 misba7 requested review from moabu and iromli as code owners October 3, 2024 07:10
@mo-auto mo-auto added area-documentation Documentation needs to change as part of issue or PR comp-docker-flex-monolith Touching folder /docker-flex-monolith kind-bug Issue or PR is a bug in existing functionality labels Oct 3, 2024
1. Access the Docker container shell using:

```bash
docker compose -f flex-mysql-compose.yml exec flex /bin/bash #This opens a bash terminal in the running container
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't it using exec -ti to get interactive shell?

```

## Configure Gluu flex

1. Access the Docker container shell using:

```bash
docker compose -f flex-mysql-compose.yml exec flex sh #This opens a bash terminal in the running container
docker compose -f flex-mysql-compose.yml exec flex /bin/bash #This opens a bash terminal in the running container
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't it using exec -ti to get interactive shell?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope not necessarily. This will work.
Screenshot (1546)

1. Access the Docker container shell using:

```bash
docker compose -f flex-mysql-compose.yml exec flex /bin/bash #This opens a bash terminal in the running container
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't it using exec -ti to get interactive shell?

iromli
iromli previously approved these changes Oct 4, 2024
@moabu moabu merged commit 9250a36 into main Oct 8, 2024
3 checks passed
@moabu moabu deleted the fix-flex-docker-compose branch October 8, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-documentation Documentation needs to change as part of issue or PR comp-docker-flex-monolith Touching folder /docker-flex-monolith kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix(docker-compose): re-running up.sh after clean.sh raises an error
4 participants