SQL Server
Microsoft SQL Server on Linux
Type
Container
Platform
linux
Image
microsoft/mssql-server-linux:2017-GA
Ports
1433/tcp
ACCEPT_EULA=Y
SA_PASSWORD=''
Installation
Via Portainer
- Ensure both Docker and Portainer are installed, and up-to-date
- Log into your Portainer web UI
- Under Settings → App Templates, paste the below URL
- Head to Home → App Templates, and the list of apps will show up
- Select the app you wish to deploy, fill in any config options, and hit Deploy
Template Import URL
https://raw.githubusercontent.com/Lissy93/portainer-templates/main/templates.json
Show Me
Via Docker Run
docker run -d \
-p 1433/tcp \
-e ACCEPT_EULA=${ACCEPT_EULA} \
-e SA_PASSWORD=${SA_PASSWORD} \
microsoft/mssql-server-linux:2017-GA
Via Docker Compose
Save this file as docker-compose.yml
and run docker-compose up -d
Use this only as a guide.
version: '3.8'
services:
sql-server:
image: microsoft/mssql-server-linux:2017-GA
ports:
- 1433:tcp
environment:
ACCEPT_EULA: 'Y'
SA_PASSWORD: ''
Alternative Methods
For more installation options, see the Documentation in the GitHub repo