Skip to content

Containers fail to start: mssql/win11, mssql/m1, mssql with different port (not intended to work), postgres/win10, mariadb/win11, oracleΒ #360

@snifhex

Description

@snifhex

I'm unable to run the SqlServerContainer. After creating the MSSQL container, it gets stuck at the "waiting to be ready" state and does not proceed further.

image

To Reproduce

from sqlalchemy import create_engine, text
from testcontainers.mssql import SqlServerContainer

with SqlServerContainer() as mssql:
    engine = create_engine(mssql.get_connection_url())
    with engine.begin() as connection:
        version = connection.execute(text("select @@VERSION"))

Runtime environment

Docker Desktop 4.19.0 (106363)
Windows 11
Python 3.9
testcontainers==3.7.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions