Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during build for sqlexpress #6

Open
secangkirkopipanas opened this issue Jul 17, 2016 · 3 comments
Open

Error during build for sqlexpress #6

secangkirkopipanas opened this issue Jul 17, 2016 · 3 comments

Comments

@secangkirkopipanas
Copy link

Hi,

I'm facing issue when I'm building the Dockerfile under sqlexpress folder. Please refer to the following details:

OS:

Windows 10 with Docker Toolbox 1.11.2

Command to build:

docker build -t sqlexpress .

Error:

Step 10 : RUN powershell wget http://download.microsoft.com/download/E/A/E/EAE6F7FC-767A-4038-A954-49B8B05D04EB/Express%2064BIT/SQLEXPR_x64_ENU.exe -OutFile sqlexpr_x64_enu.exe && /install/sqlexpr_x64_enu.exe /q /x:/install/setup && /install/setup/setup.exe /q /ACTION=Install /INSTANCENAME=%sqlinstance% /FEATURES=SQLEngine /UPDATEENABLED=1 /SECURITYMODE=SQL /SAPWD=%sqlsapassword% /SQLSVCACCOUNT="NT AUTHORITY\System" /SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS" /INSTALLSQLDATADIR=%sqldata% /SQLUSERDBLOGDIR=%sqldata% /SQLBACKUPDIR=%sqlbackup% /TCPENABLED=1 /NPENABLED=0 /IACCEPTSQLSERVERLICENSETERMS && powershell ./Set-SqlExpressStaticTcpPort %sqlinstance% && powershell ./Move-dirs-and-stop-service %sqlinstance% %sql% %sqldata% %sqlbackup% && del sqlexpr_x64_enu.exe && rmdir .\setup /s /q
---> Running in f017abc23266
Container command '/bin/sh' not found or does not exist.

Do you have some clues to sort it out this issue?
Thank you.

@djoulz22
Copy link

djoulz22 commented Jul 17, 2016

Hi secangkirkopipanas,

I have same issue and I solve it by replacing :

FROM docker.io/microsoft/dotnet35:windowsservercore

by

FROM microsoft/dotnet35:latest

And it work very fine!

But you must start it from Windows 2016 Server Preview!

DjoulZ22

@suvadan
Copy link

suvadan commented Jul 20, 2016

I am also facing same issue on windwos server 2016 TP5.
I have changed docker file as per suggested by DjoulZ22.

Still I am getting same issue.
More infor
still 15th July 2016 I was able to build sqlexpress image sucessfully and created container also.
on 18th July I tried on another machine i am not able build sql image. Also i removed from my old server and tried again there also i am facing same issue.

thanks
Suvadan

@afinzel
Copy link

afinzel commented Nov 19, 2016

try #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants