microsoft / microsoft/sql-server-samples
mssql-server-linux setup failed: error code 1 macOS (Docker)
Open
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 11.2k
- Forks
- 9.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 14
Description
When trying to startup sql-server I get this error. Is the log only contained in the docker container?
$ docker run -p 1433:1433 -t -e SA_PASSWORD='<password>' -e ACCEPT_EULA=Y microsoft/mssql-server-linux
Configuring Microsoft(R) SQL Server(R)...
Microsoft(R) SQL Server(R) setup failed with error code 1. Please check the setup log in /var/opt/mssql/log for more information.
But while in the container... The mssql folder is not there!
root@bdd24ed25e8b:/var/opt# ls
root@bdd24ed25e8b:/var/opt#
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure using the documented docker run command on macOS, then inspect the container's /var/opt/mssql/log path and compare it with the empty /var/opt listing shown. Determine why setup exits with error code 1 and where the setup log can be retrieved; done means the startup cause and log location are clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100