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

Use docker-compose to start bash inside the master container #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kinow
Copy link

@kinow kinow commented Jun 20, 2022

Hi,

On my Ubuntu LTS, following the README.md instructions (really helpful! Thanks!) I got almost everything working without having to change the commands.

The exception was how to run bash in the master container. The command suggested in the README.md appears to be platform and/or version dependent. On my local environment it the container has a different name, so it fails to run bash.

kinow@ranma:/tmp/docker-compss-runtime$ docker exec -it deephealth_compss-master_1 bash
Error: No such container: deephealth_compss-master_1

This PR uses the docker-compose command, where we can use the service name.

docker-compose exec compss-master bash

@kinow
Copy link
Author

kinow commented Jun 20, 2022

I think an alternative could be to set the container_name in docker-compose.yaml.

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.

1 participant