The main goal is to run the ServiceBus in the docker container for windows.
Docker version output:
Client:
Version: 1.13.1
API version: 1.26
Go version: go1.7.5
Git commit: 092cba3
Built: Wed Feb 8 08:47:51 2017
OS/Arch: windows/amd64
Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.24)
Go version: go1.7.5
Git commit: 092cba3
Built: Wed Feb 8 08:47:51 2017
OS/Arch: windows/amd64
Experimental: true
Dockerefile Content:
FROM microsoft/mssql-server-windows-express
COPY install/ /install
RUN msiexec /i install\WebPlatformInstaller_amd64_en-US.msi /qn
RUN WebpiCmd /Install /Products:ServiceBus_1_1 /AcceptEula /SuppressReboot /xml:c:\install\SBWebPICache\feeds\latest\webproductlist.xml
Steps to play:
1. Create an image with the parameters:
docker build --no-cache -t servicebus $folder
...
Verifying successful installation...
Microsoft Visual C++ 2012 SP1 Redistributable Package (x64) True
Microsoft Windows Fabric V1 RTM True
Microsoft Windows Fabric V1 CU1 True
Windows Azure Pack: Service Bus 1.1 True
Windows Azure Pack: Update for Service Bus 1.1 - .NET Framework 4.6 Compatibility (KB3086798) True
Install of Products: SUCCESS
Servicebus successfully installed as expected
2. Run the container with the parameters:
docker run -it --rm --isolation hyperv servicebus powershell
3. Create a new servicebus farm:
New-SBFarm -SBFarmDBConnectionString 'data source=.; integrated security=true' -CertificateAutoGenerationKey (ConvertTo-SecureString -string "P@assword" -force -AsPlainText)
Error with error:
New-SBFarm : The Server service is not started.
Manual service start:
Start-Service : Service 'Server (LanmanServer)' cannot be started due to the following error: Cannot start service LanmanServer on computer '.'
It was found that the service depends on srvnet, which does not start on Windows 10 (10.0.14393) using hyper-v isolation:
Start-Service : Failed to start service 'srvnet (srvnet)'.
But it successfully starts on Windows Server 2016 (10.0.14393) using process isolation. However, even when starting the srvnet service and installing File-Services, it still does not work. Cannot start lanmanserver server
:
- lanmanserver Windows? - servicebus?