Replies: 1 comment 4 replies
-
Is the port |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to connect to a MSSQL container with
tmpfs
mapped volumes and automatically assigned port using ADO.NET.I built the container in advance from following Dockerfile using
docker build -t mytest/sqlserver.testcontainer -f Dockerfile .
command:The containers starts, I have to wait a little bit for it to spin up, the connection string is set:
... but then it fails to connect because (I am not even able to connect to the container from SQL Server Management Studio)
However, when I change the port binding to
.WithPortBinding(14333, 1433)
it worksAnd when I change it to a prevously used port like
.WithPortBinding(49172, 1433)
it does not work becausebut no application is using that port.
Can anybody help? Thanks
Beta Was this translation helpful? Give feedback.
All reactions