-
Notifications
You must be signed in to change notification settings - Fork 302
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: Azurite unable to run create_container #761
Comments
Hej I am not completely sure but. I guess you are NOT testing inside docker (DIND), I have bumped into a similar issue, my hacky solution was to modify the
the gist of this change is to use If i spin up an azurite container using docker compose and use a port on the same range as testcontainters. I am able to use both localhost and 127.0.0.1 |
@David2011Hernandez nice, this hack actually works for me I'm leaving this issue open since the hack requires me to fork the package and change stuff |
do you have this line in your /etc/hosts (c:\Windows\System32\Drivers\etc\hosts)?
|
you're right, I do have this in my |
ok if you have this line and it still doesn't work some kind of other assumption is wrong and it may be a bug. |
im going to look into this on sonoma as well and see if i can fix |
for context, when I run this test in github actions (running on ubuntu 24.04.1), it passes fine |
Describe the bug
when using a Blob Service Client on a Azurite container, an azure blob storage container cannot be created, thus testing that requires containers cannot continue. E.g.
get_blob_client
andupload_blob
requires a container.To Reproduce
Provide a self-contained code snippet that illustrates the bug or unexpected behavior. Ideally, send a Pull Request to illustrate with a test that illustrates the problem.
The last line here just hangs indefinitely, unable to proceed further
Runtime environment
The text was updated successfully, but these errors were encountered: