Portainer Templates

SQL Server

Database

Microsoft SQL Server on Linux

Type Container Platform linux Image microsoft/mssql-server-linux:2017-GA Ports

1433/tcp

Env Vars

ACCEPT_EULA=YSA_PASSWORD=''

Installation

Via Portainer

  1. Ensure both Docker and Portainer are installed, and up-to-date
  2. Log into your Portainer web UI
  3. Under Settings → App Templates, paste the below URL
  4. Head to Home → App Templates, and the list of apps will show up
  5. 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 demo

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