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

Add documentation on how to test using docker #338

Open
leophys opened this issue Jan 26, 2018 · 2 comments
Open

Add documentation on how to test using docker #338

leophys opened this issue Jan 26, 2018 · 2 comments
Assignees
Labels

Comments

@leophys
Copy link
Member

leophys commented Jan 26, 2018

I am currently using with proficency docker to both start an instance of libreant and to pull and use different elasticsearch versions from here (FANTASTIC!).

I do the following to build a docker image for libreant, using the Dockerfile present right now in dev

(in the root of the project)

# docker build -t libreant . --build-arg=ES_VERSION=<es_version>

and to run

# docker run --rm -t libreant

I pull different versions of elasticsearch from the above repository with

# docker pull docker.elastic.co/elasticsearch/elasticsearch:<es_version>

Then I run it, binding ports 9200 and 9300 to localhost with

# docker run --rm -p 127.0.0.1:9200:9200 -p 127.0.0.1:9300:9300 -t docker.elastic.co/elasticsearch/elasticsearch:<es_version>

Shall I document it?

@leophys leophys added the docs label Jan 26, 2018
@leophys leophys self-assigned this Jan 26, 2018
@leophys
Copy link
Member Author

leophys commented Aug 8, 2019

I realized that my understanding of docker at the time was crap.

I made a modern-docker branch in my fork to use docker-compose. I'd divert this issue to one of general enhancement of the development process.

@boyska
Copy link
Member

boyska commented Aug 8, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants