Andrew Pruski has a script on GitHub:
So I’ve created a repository on GitHub that pulls together the code from Docker to install the Community Edition and the code from Microsoft to install the SQL command line tools.
The steps it performs are: –
-
Installs the Docker Community Edition
-
Installs the SQL Server command line tools
-
Pulls the latest SQL Server on Linux image from the Docker Hub
Read on for more details and some limitations.