I’ve been getting to grips with Docker SQL Containers on Linux (specifically Ubuntu 16.04) and have found that I’ve been running the same commands over and over when I’m configuring a new server.
The old adage goes that if you run anything more than once it should be automated, right?
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
To run this yourself, first clone a copy of the repository onto the server: –
git clone https://github.com/dbafromthecold/InstallDockerOnUbuntu.git
Then navigate to the directory: –
Make the script executable: –
chmod +x installdocker.sh
Then run the script!
N.B. – This is setup for Ubuntu 16.04 so it will not work on other distros
Thanks for reading!