-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
bug: localstack/localstack:lastest fails to startup #10893
Comments
Welcome to LocalStack! Thanks for reporting your first issue and our team will be working towards fixing the issue for you or reach out for more background information. We recommend joining our Slack Community for real-time help and drop a message to LocalStack Pro Support if you are a Pro user! If you are willing to contribute towards fixing this issue, please have a look at our contributing guidelines and our contributing guide. |
Using the tag localstack/localstack:3.4.0 seems to fix things |
Confirmed that |
Thank you for reporting this issue. There was a pretty big code restructure that just merged in today. While the image seems to be working and I can start the latest image locally, it is possible that you are running into some caching issues. Can you try deleting your cache before re-triggering and let us know if that fixed the issue. Also, |
The current With this docker-compose.yml: ---
version: '3.8'
services:
localstack:
image: localstack/localstack:latest
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
- DEBUG=1 ...running
|
I can confirm there's a very loud exception about the docker socket not being mounted, but localstack still starts up fine. are you having issues actually using localstack? I don't think this has anything to do with the code restructuring. my guess would be that it has to do with the recent docker sdk upgrade from 6 to 7 https://github.com/localstack/localstack/pull/10853/files, but TBC |
The issue reported by @robo-corg is actually related to #9761 and is expected behavior according to this change. Again I believe it's a non-issue since it's not affecting localstack in any way, but it's misleading because it suggests the startup failed. I think we should be providing better output. Something like:
|
Issue I encountered is that github considers the container to have not started up successfully. I didn't try actually using it since the tests never ran. |
i'm closing this issue since the underlying issue (the healthcheck) has been fixed. |
Is there an existing issue for this?
Current Behavior
I have been using localstack in a github workflow for CI and it seems to fail to come up now:
Seems to fail from connecting to postgresql
Expected Behavior
localstack service should be ready and not timeout typically it is ready in <10s
How are you starting LocalStack?
Custom (please describe below)
Steps To Reproduce
Found this using localstack as a github action as described above but I suspect a simple docker run might trigger the bug
How are you starting localstack (e.g.,
bin/localstack
command, arguments, ordocker-compose.yml
)Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: