Skip to content

docker with volume on local drive #268

Open
@tschmit

Description

@tschmit

configuration:
windows 10 pro 64bits
docker 17.12.0-ce-win47 (15139)
command:

docker run 
    -e "ACCEPT_EULA=Y" 
    -e "MSSQL_SA_PASSWORD=****" 
    -p 1401:1433 
    --name mssql1 
    -v /d/docker/volumes/mssql1:/var/opt/mssql 
    -d microsoft/mssql-server-linux:2017-latest

the container crashes and in d:\docker\volumes\mssql1\log
I find an errorlog containing:

...
2018-02-22 17:00:12.97 spid6s      Database 'master' running the upgrade step from version 862 to version 863.
2018-02-22 17:00:13.01 spid6s      Database 'master' running the upgrade step from version 863 to version 864.
2018-02-22 17:00:13.05 spid6s      Error: 17053, Severity: 16, State: 1.
2018-02-22 17:00:13.05 spid6s      /var/opt/mssql/data/mastlog.ldf: Operating system error 31(A device attached to the system is not functioning.) encountered.
2018-02-22 17:00:14.07 spid6s      Error: 928, Severity: 20, State: 1.
2018-02-22 17:00:14.07 spid6s      During upgrade, database raised exception 9002, severity 17, state 0, address 0000000484D0157E. Use the exception number to determine the cause.
2018-02-22 17:00:14.09 spid6s      Error: 9002, Severity: 17, State: 0.
2018-02-22 17:00:14.09 spid6s      The transaction log for database 'master' is full due to 'NOTHING'.

all runs fine if:

  • I do not use a -v option
  • I use *v with a docker volume

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions