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

Improve setup instructions #48

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

ariostas
Copy link
Member

@ariostas ariostas commented Sep 9, 2024

I fixed the instructions for the setup with apptainer and I added a brief mention of what to do if using Docker Engine instead of Docker Desktop.

I still need to add instructions for setting up OpenSearch with apptainer.

Copy link
Member

@michmx michmx left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the nice improvement!

@michmx
Copy link
Member

michmx commented Sep 10, 2024

@ariostas Did you set it as Draft only because of the OpenSearch part?

@ariostas
Copy link
Member Author

Yeah, I haven't been able to get OpenSearch to work on Apptainer. Here are the steps I have so far:

mkdir /scratch/<username>/opensearch-apptainer; cd /scratch/<username>/opensearch-apptainer
mkdir -p ./opensearch/logs
apptainer pull --name opensearch.sif docker://opensearchproject/opensearch:latest
apptainer exec --bind ${PWD}/opensearch:/usr/share/opensearch/defaultconfig ./opensearch.sif cp -r /usr/share/opensearch/config /usr/share/opensearch/defaultconfig
apptainer instance start --bind ${PWD}/opensearch/logs:/usr/share/opensearch/logs --bind ${PWD}/opensearch/config:/usr/share/opensearch/config ./opensearch.sif opensearch
apptainer exec --env discovery.type=single-node --env OPENSEARCH_INITIAL_ADMIN_PASSWORD=<custom-admin-password> instance://opensearch /usr/share/opensearch/opensearch-docker-entrypoint.sh

However, there is a Java error in the last step that I haven't been able to get around.

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