To install docker on REHL 7.5 enterprise follow the below steps
sudo yum install -y yum-utils sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo yum makecache fast
To avoid error “Requires: container-selinux >= 2.9” Run following command
sudo yum install -y http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.42-1.gitad8f0f7.el7.noarch.rpm
To avoid error “libtool-ltdl-2.4.2-22.el7_3.x8 FAILED” Run following command
yum install http://mirror.centos.org/centos/7/os/x86_64/Packages/libtool-ltdl-2.4.2-22.el7_3.x86_64.rpm
To avoid Error: Package: docker-ce-18.03.1.ce-1.el7.centos.x86_64 (docker-ce-stable) Requires: pigz
Run:
yum install http://mirror.centos.org/centos/7/extras/x86_64/Packages/pigz-2.3.3-1.el7.centos.x86_64.rpm sudo yum -y install docker-ce
Check the docker service Status
[sufian@localhost ~]$ systemctl show --property ActiveState docker ActiveState=active
You can also test the docker running with command: sudo systemctl start docker
In case you get the below error while trying to connect docker,
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.26/containers/create: dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'.
Add the user to Docker Group
- sudo usermod -a -G docker “username”
Pull and run the container image
-
Pull the SQL Server 2017 Linux container image from Docker Hub.
[sufian@localhost ~]$ sudo docker pull microsoft/mssql-server-linux:2017-latest [sudo] password for sufian: 2017-latest: Pulling from microsoft/mssql-server-linux f6fa9a861b90: Pull complete da7318603015: Pull complete 6a8bd10c9278: Pull complete d5a40291440f: Pull complete bbdd8a83c0f1: Pull complete 3a52205d40a6: Pull complete 6192691706e8: Pull complete 1a658a9035fb: Pull complete 103fa96eca85: Pull complete 4105e5c7e280: Pull complete Digest: sha256:4ef33b1d0b2f264550c152e24a87322daae40b090d3ba32f1241cb0fd4510421 Status: Downloaded newer image for microsoft/mssql-server-linux:2017-latest
2. Run the SQL Server 2017 Linux container image
[root@localhost sufian]# docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=P@ssw0rd" -p 1402:1433 -d microsoft/mssql-server-linux:2017-latest fcdcbc02ca36ec59c75b323be11e4e50af8a3517fed75e9c773b1f7a779b5148 [root@localhost sufian]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES fcdcbc02ca36 microsoft/mssql-server-linux:2017-latest "/opt/mssql/bin/sqls…" 13 seconds ago Exited (1) 1
The docker image exited without starting. Check the Error log
[root@localhost sufian]# docker logs fcdcbc02ca36 sqlservr: This program requires a machine with at least 2000 megabytes of memory.
Shutdown the Linux VM and increase the VM Memory.
Try Starting the Docker service
[sufian@localhost ~]$ sudo service docker start Redirecting to /bin/systemctl start docker.service
Once Docker service is start successfully. Run the SQL Docker Image again
[sufian@localhost ~]$ sudo docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=P@ssw0rd' -p 1433:1433 --name sql1 -d microsoft/mssql-server-linux:2017-latest edfeaf858efb43f5f5b29227935f1fc26993960fd25f7e96c1f8a14a8cfaf035 [sufian@localhost ~]$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES edfeaf858efb microsoft/mssql-server-linux:2017-latest "/opt/mssql/bin/sqls…" 13 seconds ago Up 10 seconds 0.0.0.0:1433->1433/tcp sql1
The Docker Image Started Successfully. Check the Log
[sufian@localhost ~]$ docker logs edfeaf858efb 2018-06-08 15:26:10.87 Server Setup step is copying system data file 'C:\templatedata\master.mdf' to '/var/opt/mssql/data/master.mdf'. 2018-06-08 15:26:11.68 Server Did not find an existing master data file /var/opt/mssql/data/master.mdf, copying the missing default master and other system database files. If you have moved the database location, but not moved the database files, startup may fail. To repair: shutdown SQL Server, move the master database to configured location, and restart. 2018-06-08 15:26:11.72 Server Setup step is copying system data file 'C:\templatedata\mastlog.ldf' to '/var/opt/mssql/data/mastlog.ldf'. 2018-06-08 15:26:11.77 Server Setup step is copying system data file 'C:\templatedata\model.mdf' to '/var/opt/mssql/data/model.mdf'. 2018-06-08 15:26:11.90 Server Setup step is copying system data file 'C:\templatedata\modellog.ldf' to '/var/opt/mssql/data/modellog.ldf'. 2018-06-08 15:26:12.03 Server Setup step is copying system data file 'C:\templatedata\msdbdata.mdf' to '/var/opt/mssql/data/msdbdata.mdf'. 2018-06-08 15:26:12.17 Server Setup step is copying system data file 'C:\templatedata\msdblog.ldf' to '/var/opt/mssql/data/msdblog.ldf'. 2018-06-08 15:26:13.08 Server Microsoft SQL Server 2017 (RTM-CU7) (KB4229789) - 14.0.3026.27 (X64) May 10 2018 12:38:11 Copyright (C) 2017 Microsoft Corporation Developer Edition (64-bit) on Linux (Ubuntu 16.04.4 LTS) 2018-06-08 15:26:13.09 Server UTC adjustment: 0:00 2018-06-08 15:26:13.10 Server (c) Microsoft Corporation. 2018-06-08 15:26:13.10 Server All rights reserved. 2018-06-08 15:26:13.10 Server Server process ID is 4120. 2018-06-08 15:26:13.10 Server Logging SQL Server messages in file '/var/opt/mssql/log/errorlog'. 2018-06-08 15:26:13.11 Server Registry startup parameters: -d /var/opt/mssql/data/master.mdf -l /var/opt/mssql/data/mastlog.ldf -e /var/opt/mssql/log/errorlog 2018-06-08 15:26:13.12 Server SQL Server detected 1 sockets with 1 cores per socket and 1 logical processors per socket, 1 total logical processors; using 1 logical processors based on SQL Server licensing. This is an informational message; no user action is required. 2018-06-08 15:26:13.15 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required. 2018-06-08 15:26:13.17 Server Detected 2994 MB of RAM. This is an informational message; no user action is required. 2018-06-08 15:26:13.17 Server Using conventional memory in the memory manager. 2018-06-08 15:26:14.60 Server Buffer pool extension is already disabled. No action is necessary. 2018-06-08 15:26:15.49 Server InitializeExternalUserGroupSid failed. Implied authentication will be disabled. 2018-06-08 15:26:15.50 Server Implied authentication manager initialization failed. Implied authentication will be disabled. 2018-06-08 15:26:15.51 Server Successfully initialized the TLS configuration. Allowed TLS protocol versions are ['1.0 1.1 1.2']. Allowed TLS ciphers are ['ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!DHE-RSA-AES256-GCM-SHA384:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES256-SHA:!DHE-RSA-AES128-SHA']. 2018-06-08 15:26:15.88 Server Node configuration: node 0: CPU mask: 0x0000000000000001:0 Active CPU mask: 0x0000000000000001:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required. 2018-06-08 15:26:15.89 Server The maximum number of dedicated administrator connections for this instance is '1' 2018-06-08 15:26:15.97 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required. 2018-06-08 15:26:16.02 Server In-Memory OLTP initialized on lowend machine. 2018-06-08 15:26:16.35 Server Database Instant File Initialization: enabled. For security and performance considerations see the topic 'Database Instant File Initialization' in SQL Server Books Online. This is an informational message only. No user action is required. ForceFlush is enabled for this instance. 2018-06-08 15:26:16.41 Server Query Store settings initialized with enabled = 1, 2018-06-08 15:26:16.57 Server Software Usage Metrics is disabled. 2018-06-08 15:26:16.60 spid6s Starting up database 'master'. ForceFlush feature is enabled for log durability. 2018-06-08 15:26:19.08 spid6s The tail of the log for database master is being rewritten to match the new sector size of 4096 bytes. 3072 bytes at offset 418816 in file /var/opt/mssql/data/mastlog.ldf will be written. 2018-06-08 15:26:20.62 spid6s Converting database 'master' from version 862 to the current version 869. 2018-06-08 15:26:20.63 spid6s Database 'master' running the upgrade step from version 862 to version 863. 2018-06-08 15:26:20.85 spid6s Database 'master' running the upgrade step from version 863 to version 864. 2018-06-08 15:26:21.18 spid6s Database 'master' running the upgrade step from version 864 to version 865. 2018-06-08 15:26:21.25 spid6s Database 'master' running the upgrade step from version 865 to version 866. 2018-06-08 15:26:21.33 spid6s Database 'master' running the upgrade step from version 866 to version 867. 2018-06-08 15:26:21.45 spid6s Database 'master' running the upgrade step from version 867 to version 868. 2018-06-08 15:26:21.54 spid6s Database 'master' running the upgrade step from version 868 to version 869. 2018-06-08 15:26:22.85 spid6s Resource governor reconfiguration succeeded. 2018-06-08 15:26:22.86 spid6s SQL Server Audit is starting the audits. This is an informational message. No user action is required. 2018-06-08 15:26:22.87 spid6s SQL Server Audit has started the audits. This is an informational message. No user action is required. 2018-06-08 15:26:23.34 spid6s SQL Trace ID 1 was started by login "sa". 2018-06-08 15:26:23.40 spid19s Password policy update was successful. 2018-06-08 15:26:23.43 spid6s Server name is 'edfeaf858efb'. This is an informational message only. No user action is required. 2018-06-08 15:26:23.67 spid6s Starting up database 'msdb'. 2018-06-08 15:26:23.69 spid22s Always On: The availability replica manager is starting. This is an informational message only. No user action is required. 2018-06-08 15:26:23.74 spid11s Starting up database 'mssqlsystemresource'. 2018-06-08 15:26:23.76 spid22s Always On: The availability replica manager is waiting for the instance of SQL Server to allow client connections. This is an informational message only. No user action is required. 2018-06-08 15:26:23.84 spid11s The resource database build version is 14.00.3026. This is an informational message only. No user action is required. 2018-06-08 15:26:24.03 spid11s Starting up database 'model'. 2018-06-08 15:26:26.56 spid6s The tail of the log for database msdb is being rewritten to match the new sector size of 4096 bytes. 512 bytes at offset 52736 in file /var/opt/mssql/data/MSDBLog.ldf will be written. 2018-06-08 15:26:26.82 spid11s The tail of the log for database model is being rewritten to match the new sector size of 4096 bytes. 2048 bytes at offset 75776 in file /var/opt/mssql/data/modellog.ldf will be written. 2018-06-08 15:26:26.85 spid6s Converting database 'msdb' from version 862 to the current version 869. 2018-06-08 15:26:26.85 spid6s Database 'msdb' running the upgrade step from version 862 to version 863. 2018-06-08 15:26:27.00 spid19s A self-generated certificate was successfully loaded for encryption. 2018-06-08 15:26:27.05 spid19s Server is listening on [ 'any' <ipv4> 1433]. 2018-06-08 15:26:27.10 Server Server is listening on [ 127.0.0.1 <ipv4> 1434]. 2018-06-08 15:26:27.11 Server Dedicated admin connection support was established for listening locally on port 1434. 2018-06-08 15:26:27.16 spid11s Converting database 'model' from version 862 to the current version 869. 2018-06-08 15:26:27.16 spid11s Database 'model' running the upgrade step from version 862 to version 863. 2018-06-08 15:26:27.23 spid19s SQL Server is now ready for client connections. This is an informational message; no user action is required. 2018-06-08 15:26:27.56 spid6s Database 'msdb' running the upgrade step from version 863 to version 864. 2018-06-08 15:26:27.62 spid11s Database 'model' running the upgrade step from version 863 to version 864. 2018-06-08 15:26:27.70 spid6s Database 'msdb' running the upgrade step from version 864 to version 865. 2018-06-08 15:26:27.73 spid11s Database 'model' running the upgrade step from version 864 to version 865. 2018-06-08 15:26:27.78 spid6s Database 'msdb' running the upgrade step from version 865 to version 866. 2018-06-08 15:26:27.80 spid11s Database 'model' running the upgrade step from version 865 to version 866. 2018-06-08 15:26:27.85 spid6s Database 'msdb' running the upgrade step from version 866 to version 867. 2018-06-08 15:26:27.87 spid11s Database 'model' running the upgrade step from version 866 to version 867. 2018-06-08 15:26:27.93 spid6s Database 'msdb' running the upgrade step from version 867 to version 868. 2018-06-08 15:26:27.95 spid11s Database 'model' running the upgrade step from version 867 to version 868. 2018-06-08 15:26:28.02 spid6s Database 'msdb' running the upgrade step from version 868 to version 869. 2018-06-08 15:26:28.08 spid11s Database 'model' running the upgrade step from version 868 to version 869. 2018-06-08 15:26:28.33 spid11s Polybase feature disabled. 2018-06-08 15:26:28.33 spid11s Clearing tempdb database. 2018-06-08 15:26:30.77 spid11s Starting up database 'tempdb'. 2018-06-08 15:26:31.55 spid11s The tempdb database has 1 data file(s). 2018-06-08 15:26:31.57 spid24s The Service Broker endpoint is in disabled or stopped state. 2018-06-08 15:26:31.57 spid24s The Database Mirroring endpoint is in disabled or stopped state. 2018-06-08 15:26:31.61 spid24s Service Broker manager has started. 2018-06-08 15:26:31.75 spid6s Recovery is complete. This is an informational message only. No user action is required. 2018-06-08 15:26:31.95 spid22s The default language (LCID 0) has been set for engine and full-text services. 2018-06-08 15:26:32.98 spid51 Configuration option 'show advanced options' changed from 0 to 1. Run the RECONFIGURE statement to install. 2018-06-08 15:26:33.08 spid51 Configuration option 'Agent XPs' changed from 0 to 1. Run the RECONFIGURE statement to install. 2018-06-08 15:26:33.09 spid51 Configuration option 'show advanced options' changed from 1 to 0. Run the RECONFIGURE statement to install. 2018-06-08 15:26:33.61 spid51 Attempting to load library 'xpsqlbot.dll' into memory. This is an informational message only. No user action is required. 2018-06-08 15:26:33.63 spid51 Using 'xpsqlbot.dll' version '2017.140.3026' to execute extended stored procedure 'xp_qv'. This is an informational message only; no user action is required. 2018-06-08 15:26:33.92 spid51 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required. 2018-06-08 15:26:34.13 spid51 Using 'xpstar.dll' version '2017.140.3026' to execute extended stored procedure 'xp_sqlagent_notify'. This is an informational message only; no user action is required. 2018-06-08 15:31:28.24 spid53 Using 'dbghelp.dll' version '4.0.5' [sufian@localhost ~]$
3. Connect the SQL Server 2017 Linux container image
3. Create Database in the SQL Server 2017 Linux Docker Container and Commit the changes
I have created a Test Database and committed the Docker Container. Stop the Docker Container and Start it again to check if changes where committed and available after restart
[sufian@localhost ~]$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES edfeaf858efb microsoft/mssql-server-linux:2017-latest "/opt/mssql/bin/sqls…" 17 minutes ago Up 17 minutes 0.0.0.0:1433->1433/tcp sql1 [sufian@localhost ~]$ [sufian@localhost ~]$ [sufian@localhost ~]$ [sufian@localhost ~]$ docker commit edfeaf858efb sha256:76adc826b78ce70e108aacdc59decde61ef203801eeb3f989450d30c9004ab33 [sufian@localhost ~]$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES edfeaf858efb microsoft/mssql-server-linux:2017-latest "/opt/mssql/bin/sqls…" 18 minutes ago Up 18 minutes 0.0.0.0:1433->1433/tcp sql1 [sufian@localhost ~]$ docker stop edfeaf858efb edfeaf858efb [sufian@localhost ~]$ docker start edfeaf858efb edfeaf858efb
In the below log , you will notice Test Database is starting
[sufian@localhost ~]$ docker logs edfeaf858efb 2018-06-08 15:26:10.87 Server Setup step is copying system data file 'C:\templatedata\master.mdf' to '/var/opt/mssql/data/master.mdf'. 2018-06-08 15:26:11.68 Server Did not find an existing master data file /var/opt/mssql/data/master.mdf, copying the missing default master and other system database files. If you have moved the database location, but not moved the database files, startup may fail. To repair: shutdown SQL Server, move the master database to configured location, and restart. 2018-06-08 15:26:11.72 Server Setup step is copying system data file 'C:\templatedata\mastlog.ldf' to '/var/opt/mssql/data/mastlog.ldf'. 2018-06-08 15:26:11.77 Server Setup step is copying system data file 'C:\templatedata\model.mdf' to '/var/opt/mssql/data/model.mdf'. 2018-06-08 15:26:11.90 Server Setup step is copying system data file 'C:\templatedata\modellog.ldf' to '/var/opt/mssql/data/modellog.ldf'. 2018-06-08 15:26:12.03 Server Setup step is copying system data file 'C:\templatedata\msdbdata.mdf' to '/var/opt/mssql/data/msdbdata.mdf'. 2018-06-08 15:26:12.17 Server Setup step is copying system data file 'C:\templatedata\msdblog.ldf' to '/var/opt/mssql/data/msdblog.ldf'. 2018-06-08 15:26:13.08 Server Microsoft SQL Server 2017 (RTM-CU7) (KB4229789) - 14.0.3026.27 (X64) May 10 2018 12:38:11 Copyright (C) 2017 Microsoft Corporation Developer Edition (64-bit) on Linux (Ubuntu 16.04.4 LTS) 2018-06-08 15:26:13.09 Server UTC adjustment: 0:00 2018-06-08 15:26:13.10 Server (c) Microsoft Corporation. 2018-06-08 15:26:13.10 Server All rights reserved. 2018-06-08 15:26:13.10 Server Server process ID is 4120. 2018-06-08 15:26:13.10 Server Logging SQL Server messages in file '/var/opt/mssql/log/errorlog'. 2018-06-08 15:26:13.11 Server Registry startup parameters: -d /var/opt/mssql/data/master.mdf -l /var/opt/mssql/data/mastlog.ldf -e /var/opt/mssql/log/errorlog 2018-06-08 15:26:13.12 Server SQL Server detected 1 sockets with 1 cores per socket and 1 logical processors per socket, 1 total logical processors; using 1 logical processors based on SQL Server licensing. This is an informational message; no user action is required. 2018-06-08 15:26:13.15 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required. 2018-06-08 15:26:13.17 Server Detected 2994 MB of RAM. This is an informational message; no user action is required. 2018-06-08 15:26:13.17 Server Using conventional memory in the memory manager. 2018-06-08 15:26:14.60 Server Buffer pool extension is already disabled. No action is necessary. 2018-06-08 15:26:15.49 Server InitializeExternalUserGroupSid failed. Implied authentication will be disabled. 2018-06-08 15:26:15.50 Server Implied authentication manager initialization failed. Implied authentication will be disabled. 2018-06-08 15:26:15.51 Server Successfully initialized the TLS configuration. Allowed TLS protocol versions are ['1.0 1.1 1.2']. Allowed TLS ciphers are ['ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!DHE-RSA-AES256-GCM-SHA384:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES256-SHA:!DHE-RSA-AES128-SHA']. 2018-06-08 15:26:15.88 Server Node configuration: node 0: CPU mask: 0x0000000000000001:0 Active CPU mask: 0x0000000000000001:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required. 2018-06-08 15:26:15.89 Server The maximum number of dedicated administrator connections for this instance is '1' 2018-06-08 15:26:15.97 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required. 2018-06-08 15:26:16.02 Server In-Memory OLTP initialized on lowend machine. 2018-06-08 15:26:16.35 Server Database Instant File Initialization: enabled. For security and performance considerations see the topic 'Database Instant File Initialization' in SQL Server Books Online. This is an informational message only. No user action is required. ForceFlush is enabled for this instance. 2018-06-08 15:26:16.41 Server Query Store settings initialized with enabled = 1, 2018-06-08 15:26:16.57 Server Software Usage Metrics is disabled. 2018-06-08 15:26:16.60 spid6s Starting up database 'master'. ForceFlush feature is enabled for log durability. 2018-06-08 15:26:19.08 spid6s The tail of the log for database master is being rewritten to match the new sector size of 4096 bytes. 3072 bytes at offset 418816 in file /var/opt/mssql/data/mastlog.ldf will be written. 2018-06-08 15:26:20.62 spid6s Converting database 'master' from version 862 to the current version 869. 2018-06-08 15:26:20.63 spid6s Database 'master' running the upgrade step from version 862 to version 863. 2018-06-08 15:26:20.85 spid6s Database 'master' running the upgrade step from version 863 to version 864. 2018-06-08 15:26:21.18 spid6s Database 'master' running the upgrade step from version 864 to version 865. 2018-06-08 15:26:21.25 spid6s Database 'master' running the upgrade step from version 865 to version 866. 2018-06-08 15:26:21.33 spid6s Database 'master' running the upgrade step from version 866 to version 867. 2018-06-08 15:26:21.45 spid6s Database 'master' running the upgrade step from version 867 to version 868. 2018-06-08 15:26:21.54 spid6s Database 'master' running the upgrade step from version 868 to version 869. 2018-06-08 15:26:22.85 spid6s Resource governor reconfiguration succeeded. 2018-06-08 15:26:22.86 spid6s SQL Server Audit is starting the audits. This is an informational message. No user action is required. 2018-06-08 15:26:22.87 spid6s SQL Server Audit has started the audits. This is an informational message. No user action is required. 2018-06-08 15:26:23.34 spid6s SQL Trace ID 1 was started by login "sa". 2018-06-08 15:26:23.40 spid19s Password policy update was successful. 2018-06-08 15:26:23.43 spid6s Server name is 'edfeaf858efb'. This is an informational message only. No user action is required. 2018-06-08 15:26:23.67 spid6s Starting up database 'msdb'. 2018-06-08 15:26:23.69 spid22s Always On: The availability replica manager is starting. This is an informational message only. No user action is required. 2018-06-08 15:26:23.74 spid11s Starting up database 'mssqlsystemresource'. 2018-06-08 15:26:23.76 spid22s Always On: The availability replica manager is waiting for the instance of SQL Server to allow client connections. This is an informational message only. No user action is required. 2018-06-08 15:26:23.84 spid11s The resource database build version is 14.00.3026. This is an informational message only. No user action is required. 2018-06-08 15:26:24.03 spid11s Starting up database 'model'. 2018-06-08 15:26:26.56 spid6s The tail of the log for database msdb is being rewritten to match the new sector size of 4096 bytes. 512 bytes at offset 52736 in file /var/opt/mssql/data/MSDBLog.ldf will be written. 2018-06-08 15:26:26.82 spid11s The tail of the log for database model is being rewritten to match the new sector size of 4096 bytes. 2048 bytes at offset 75776 in file /var/opt/mssql/data/modellog.ldf will be written. 2018-06-08 15:26:26.85 spid6s Converting database 'msdb' from version 862 to the current version 869. 2018-06-08 15:26:26.85 spid6s Database 'msdb' running the upgrade step from version 862 to version 863. 2018-06-08 15:26:27.00 spid19s A self-generated certificate was successfully loaded for encryption. 2018-06-08 15:26:27.05 spid19s Server is listening on [ 'any' <ipv4> 1433]. 2018-06-08 15:26:27.10 Server Server is listening on [ 127.0.0.1 <ipv4> 1434]. 2018-06-08 15:26:27.11 Server Dedicated admin connection support was established for listening locally on port 1434. 2018-06-08 15:26:27.16 spid11s Converting database 'model' from version 862 to the current version 869. 2018-06-08 15:26:27.16 spid11s Database 'model' running the upgrade step from version 862 to version 863. 2018-06-08 15:26:27.23 spid19s SQL Server is now ready for client connections. This is an informational message; no user action is required. 2018-06-08 15:26:27.56 spid6s Database 'msdb' running the upgrade step from version 863 to version 864. 2018-06-08 15:26:27.62 spid11s Database 'model' running the upgrade step from version 863 to version 864. 2018-06-08 15:26:27.70 spid6s Database 'msdb' running the upgrade step from version 864 to version 865. 2018-06-08 15:26:27.73 spid11s Database 'model' running the upgrade step from version 864 to version 865. 2018-06-08 15:26:27.78 spid6s Database 'msdb' running the upgrade step from version 865 to version 866. 2018-06-08 15:26:27.80 spid11s Database 'model' running the upgrade step from version 865 to version 866. 2018-06-08 15:26:27.85 spid6s Database 'msdb' running the upgrade step from version 866 to version 867. 2018-06-08 15:26:27.87 spid11s Database 'model' running the upgrade step from version 866 to version 867. 2018-06-08 15:26:27.93 spid6s Database 'msdb' running the upgrade step from version 867 to version 868. 2018-06-08 15:26:27.95 spid11s Database 'model' running the upgrade step from version 867 to version 868. 2018-06-08 15:26:28.02 spid6s Database 'msdb' running the upgrade step from version 868 to version 869. 2018-06-08 15:26:28.08 spid11s Database 'model' running the upgrade step from version 868 to version 869. 2018-06-08 15:26:28.33 spid11s Polybase feature disabled. 2018-06-08 15:26:28.33 spid11s Clearing tempdb database. 2018-06-08 15:26:30.77 spid11s Starting up database 'tempdb'. 2018-06-08 15:26:31.55 spid11s The tempdb database has 1 data file(s). 2018-06-08 15:26:31.57 spid24s The Service Broker endpoint is in disabled or stopped state. 2018-06-08 15:26:31.57 spid24s The Database Mirroring endpoint is in disabled or stopped state. 2018-06-08 15:26:31.61 spid24s Service Broker manager has started. 2018-06-08 15:26:31.75 spid6s Recovery is complete. This is an informational message only. No user action is required. 2018-06-08 15:26:31.95 spid22s The default language (LCID 0) has been set for engine and full-text services. 2018-06-08 15:26:32.98 spid51 Configuration option 'show advanced options' changed from 0 to 1. Run the RECONFIGURE statement to install. 2018-06-08 15:26:33.08 spid51 Configuration option 'Agent XPs' changed from 0 to 1. Run the RECONFIGURE statement to install. 2018-06-08 15:26:33.09 spid51 Configuration option 'show advanced options' changed from 1 to 0. Run the RECONFIGURE statement to install. 2018-06-08 15:26:33.61 spid51 Attempting to load library 'xpsqlbot.dll' into memory. This is an informational message only. No user action is required. 2018-06-08 15:26:33.63 spid51 Using 'xpsqlbot.dll' version '2017.140.3026' to execute extended stored procedure 'xp_qv'. This is an informational message only; no user action is required. 2018-06-08 15:26:33.92 spid51 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required. 2018-06-08 15:26:34.13 spid51 Using 'xpstar.dll' version '2017.140.3026' to execute extended stored procedure 'xp_sqlagent_notify'. This is an informational message only; no user action is required. 2018-06-08 15:31:28.24 spid53 Using 'dbghelp.dll' version '4.0.5' 2018-06-08 15:43:01.11 spid55 Starting up database 'Test'. 2018-06-08 15:43:02.00 spid55 Parallel redo is started for database 'Test' with worker pool size [1]. 2018-06-08 15:43:02.10 spid55 Parallel redo is shutdown for database 'Test' with worker pool size [1]. 2018-06-08 15:44:18.82 spid6s Always On: The availability replica manager is going offline because SQL Server is shutting down. This is an informational message only. No user action is required. 2018-06-08 15:44:18.83 spid6s SQL Server is terminating in response to a 'stop' request from Service Control Manager. This is an informational message only. No user action is required. 2018-06-08 15:44:19.66 spid24s Service Broker manager has shut down. 2018-06-08 15:44:20.19 spid6s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required. 2018-06-08 15:44:53.13 Server Microsoft SQL Server 2017 (RTM-CU7) (KB4229789) - 14.0.3026.27 (X64) May 10 2018 12:38:11 Copyright (C) 2017 Microsoft Corporation Developer Edition (64-bit) on Linux (Ubuntu 16.04.4 LTS) 2018-06-08 15:44:53.13 Server UTC adjustment: 0:00 2018-06-08 15:44:53.13 Server (c) Microsoft Corporation. 2018-06-08 15:44:53.13 Server All rights reserved. 2018-06-08 15:44:53.13 Server Server process ID is 4120. 2018-06-08 15:44:53.13 Server Logging SQL Server messages in file '/var/opt/mssql/log/errorlog'. 2018-06-08 15:44:53.14 Server Registry startup parameters: -d /var/opt/mssql/data/master.mdf -l /var/opt/mssql/data/mastlog.ldf -e /var/opt/mssql/log/errorlog 2018-06-08 15:44:53.15 Server SQL Server detected 1 sockets with 1 cores per socket and 1 logical processors per socket, 1 total logical processors; using 1 logical processors based on SQL Server licensing. This is an informational message; no user action is required. 2018-06-08 15:44:53.15 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required. 2018-06-08 15:44:53.16 Server Detected 2994 MB of RAM. This is an informational message; no user action is required. 2018-06-08 15:44:53.16 Server Using conventional memory in the memory manager. 2018-06-08 15:44:53.71 Server Buffer pool extension is already disabled. No action is necessary. 2018-06-08 15:44:54.03 Server InitializeExternalUserGroupSid failed. Implied authentication will be disabled. 2018-06-08 15:44:54.03 Server Implied authentication manager initialization failed. Implied authentication will be disabled. 2018-06-08 15:44:54.04 Server Successfully initialized the TLS configuration. Allowed TLS protocol versions are ['1.0 1.1 1.2']. Allowed TLS ciphers are ['ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!DHE-RSA-AES256-GCM-SHA384:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES256-SHA:!DHE-RSA-AES128-SHA']. 2018-06-08 15:44:54.20 Server Node configuration: node 0: CPU mask: 0x0000000000000001:0 Active CPU mask: 0x0000000000000001:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required. 2018-06-08 15:44:54.21 Server The maximum number of dedicated administrator connections for this instance is '1' 2018-06-08 15:44:54.23 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required. 2018-06-08 15:44:54.26 Server In-Memory OLTP initialized on lowend machine. 2018-06-08 15:44:54.57 Server Database Instant File Initialization: enabled. For security and performance considerations see the topic 'Database Instant File Initialization' in SQL Server Books Online. This is an informational message only. No user action is required. ForceFlush is enabled for this instance. 2018-06-08 15:44:54.58 Server Query Store settings initialized with enabled = 1, 2018-06-08 15:44:54.66 Server Software Usage Metrics is disabled. 2018-06-08 15:44:54.67 spid6s Starting up database 'master'. ForceFlush feature is enabled for log durability. 2018-06-08 15:44:56.94 spid6s Resource governor reconfiguration succeeded. 2018-06-08 15:44:56.94 spid6s SQL Server Audit is starting the audits. This is an informational message. No user action is required. 2018-06-08 15:44:56.96 spid6s SQL Server Audit has started the audits. This is an informational message. No user action is required. 2018-06-08 15:44:57.50 spid6s SQL Trace ID 1 was started by login "sa". 2018-06-08 15:44:57.54 spid6s Server name is 'edfeaf858efb'. This is an informational message only. No user action is required. 2018-06-08 15:44:57.63 spid9s Starting up database 'mssqlsystemresource'. 2018-06-08 15:44:57.63 spid22s Always On: The availability replica manager is starting. This is an informational message only. No user action is required. 2018-06-08 15:44:57.63 spid22s Always On: The availability replica manager is waiting for the instance of SQL Server to allow client connections. This is an informational message only. No user action is required. 2018-06-08 15:44:57.66 spid23s Starting up database 'msdb'. 2018-06-08 15:44:57.66 spid24s Starting up database 'Test'. 2018-06-08 15:44:57.67 spid9s The resource database build version is 14.00.3026. This is an informational message only. No user action is required. 2018-06-08 15:44:57.78 spid9s Starting up database 'model'. 2018-06-08 15:45:00.54 spid24s Parallel redo is started for database 'Test' with worker pool size [1]. 2018-06-08 15:45:00.72 spid6s Parallel redo is shutdown for database 'Test' with worker pool size [1]. 2018-06-08 15:45:00.84 spid19s A self-generated certificate was successfully loaded for encryption. 2018-06-08 15:45:00.87 spid19s Server is listening on [ 'any' <ipv4> 1433]. 2018-06-08 15:45:00.87 spid9s Polybase feature disabled. 2018-06-08 15:45:00.87 spid9s Clearing tempdb database. 2018-06-08 15:45:00.88 Server Server is listening on [ 127.0.0.1 <ipv4> 1434]. 2018-06-08 15:45:00.89 Server Dedicated admin connection support was established for listening locally on port 1434. 2018-06-08 15:45:00.96 spid19s SQL Server is now ready for client connections. This is an informational message; no user action is required. 2018-06-08 15:45:03.54 spid9s Starting up database 'tempdb'. 2018-06-08 15:45:04.76 spid9s The tempdb database has 1 data file(s). 2018-06-08 15:45:04.79 spid22s The Service Broker endpoint is in disabled or stopped state. 2018-06-08 15:45:04.80 spid22s The Database Mirroring endpoint is in disabled or stopped state. 2018-06-08 15:45:04.90 spid22s Service Broker manager has started. 2018-06-08 15:45:05.03 spid6s Recovery is complete. This is an informational message only. No user action is required. 2018-06-08 15:45:06.42 spid51 Attempting to load library 'xpsqlbot.dll' into memory. This is an informational message only. No user action is required. 2018-06-08 15:45:06.44 spid51 Using 'xpsqlbot.dll' version '2017.140.3026' to execute extended stored procedure 'xp_qv'. This is an informational message only; no user action is required. 2018-06-08 15:45:06.67 spid51 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required. 2018-06-08 15:45:06.89 spid51 Using 'xpstar.dll' version '2017.140.3026' to execute extended stored procedure 'xp_sqlagent_notify'. This is an informational message only; no user action is required. 2018-06-08 15:51:48.79 spid54 Attempting to load library 'xplog70.dll' into memory. This is an informational message only. No user action is required. 2018-06-08 15:51:49.51 spid54 Using 'xplog70.dll' version '2017.140.3026' to execute extended stored procedure 'xp_msver'. This is an informational message only; no user action is required. 2018-06-08 15:56:55.43 spid55 Using 'dbghelp.dll' version '4.0.5'