Can’t interact with SQL Server cli inside docker container

  docker, sql-server

I just installed mssql from the official container

But when I try to access it’s cli using this command

docker exec -it <container_id|container_name> /opt/mssql-tools/bin/sqlcmd -U sa -P <your_password>

it opens a cli but it doesn’t do anything at all like this

enter image description here

Source: Docker Questions

LEAVE A COMMENT