-
Notifications
You must be signed in to change notification settings - Fork 116
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
Elastic Stack Up not working on Windows or Ubuntu WSL #1282
Comments
Hey Nic, thanks for reporting your issue. What versions of elastic-package, docker and docker-compose are you using? |
Looks like docker-compose: v2.18.1 and elastic-package: b57cc2d (which I believe is v0.80.0, but unsure). Method for getting elastic-package was:
This is my issue:
When running
|
Turns out I didn't have docker installed, so I installed it but no change:
|
Instead of pulling from master, I used the 0.80 release to be sure I have a stable one:
And the issue persists. |
Umm, if this doesn't work I don't think docker-compose can work, please review your docker installation.
This looks like an actual issue, I can reproduce it too in Linux. I think this is related to recent changes. |
Got it, I will review my docker install and get the docker daemon operational. |
The error message should be fixed by #1294. |
I got the docker service running but no change in functionality. |
What I am seeing now:
|
This docker compose configuration is not intended to be used on its own, you should use |
Of course, this was what I see if I ran the commands from what is displayed during the elastic-package run. (Good to know that probably won't work on its own). I still see the Building 0% not progressing. Are there any specific logs to see why this is hanging? |
I found the issue. I was not running as admin/root to execute the application. So when in Linux/Ubuntu WSL2, you must run with sudo:
Do we think it is worth noting in the documentation that this could require sudo? |
@nicpenning this is part of the installation steps of docker. It is mentioned several times in the docs https://docs.docker.com/engine/install/ubuntu/. It is usual that after installing docker in Linux, you add the users you want to allow to use docker to the
But what worries me more is that Thanks! |
Ah yes, you are correct on the docker install. I grazed past that, so my apologies! It would be awesome to show an error though, that would have saved me a couple weeks time :) I suppose you can tell I am not a docler expert, nor did I pay close enough attention to dockers docs. Let me know if there is anything else you need from me. Thanks for the help!! |
I am wondering if something is amiss with the docker compose file.
When trying to follow these docs: https://github.com/elastic/integrations/blob/main/docs/developer_workflow_design_build_test_integration.md
And trying to run this command:
elastic-package stack up -v -d
It just gets stuck at Build 0%
But trying to run the commands manually to start the stack up I am seeing this error:
service "fleet-server" has neither an image nor a build context specified: invalid compose project
Is it possible fleet was not included in the stack or should I be doing something to prevent fleet from being deployed to simply walk through building an integration?
I will post more details when I'm at a computer.
Tasks
The text was updated successfully, but these errors were encountered: