Open HankB opened 6 years ago
I believe i found a solution for this problem. Simply add the following
- ./.db:/var/opt/mssql/
- /var/opt/mssql/data
This is how my docker-compose looks like.
version: '3'
services:
db:
image: microsoft/mssql-server-linux:2017-latest
volumes:
- ./.db:/var/opt/mssql/
- /var/opt/mssql/data
ports:
- 8010:1433
- 8011:1434
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=Mysql!Server02
The above comment worked 100% for me, Thanks @Ballpin
OS: Ubuntu 16.04 (up to date and with MS SQL client tools installed.)
Command to download and install
Content of /dataPool/SQL-server-storage/log/errorlog
The server is perpetually restarting. It is a vanilla install and I don't know what the error means or how to resolve it. Attempts to connect via 'sqlcmd' (on the host) and 'docker -it ...' are rejected because the instance is restarting.
This is an initial install pulled from https://hub.docker.com/r/microsoft/mssql-server-linux/. Not sure where to go from here.