none
Docker SQL Server 2019 Error RRS feed

  • Question

  • docker run -d --name mssql2019 --restart=always -p 1433:1433 -v /var/opt/mssql/data:/var/opt/mssql/data -v /etc/localtime:/etc/localtime:ro -e TZ='Asia/Shanghai' -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=qwaszx12!@" sqlserver:2019

    container start with error:

    Setup step is copying system data file 'C:\templatedata\master.mdf' to '/var/opt/mssql/data/master.mdf'.

    ERROR: Setup FAILED copying system data file 'C:\templatedata\master.mdf' to '/var/opt/mssql/data/master.mdf':  2(The system cannot find the file specified.)

    sql server 2017 is ok.

    something wrong?

    jeudi 14 mai 2020 02:52