FROM ubuntu:latest # The password must be at least 8 characters long and contain characters from three of the following four sets: uppercase letters, lowercase letters, numbers, and symbols. ENV MSSQL_SA_PASSWORD 'Password.1337' ENV MSSQL_PID 'evaluation' ENV /opt/mssql/bin/mssql-conf -n setup accept-eula RUN apt-get update RUN apt-get install -y wget software-properties-common apt-transport-https sudo RUN wget -qO- https://packages.microsoft.com/keys/microsoft.asc | apt-key add - RUN add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)" RUN apt-get update RUN apt-get install -y mssql-server RUN /opt/mssql/bin/mssql-conf -n setup accept-eula; exit 0 EXPOSE 1433 CMD /opt/mssql/bin/sqlservr