Git Product home page Git Product logo

mssql-linux-friendly's Introduction

mssql-linux-friendly

wemake.services test Dockerhub image size mssql's version

mssql image that can be easily extended to load schema and data on startup.

Based on an original mssql image for Linux.

Building

docker build -t mssql:latest .

Configuration

We inherit the same configuration from mssql that is provided by the original image from Microsoft:

  • ACCEPT_EULA=Y env var, otherwise your container will not work
  • SA_PASSWORD=YOUR_PASSWORD env var to set sa user's password

Volumes

We also provide a volume with scripts (./scripts) to be extended later:

  • ./scripts/schema.sql contains schema definition file
  • ./scripts/data.sql contains your data that should be inserted on startup

They are both empty by default.

To customize these files use volumes:

docker run -v ./your/custom/scripts:/code/scripts -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=MyStrongPassword1' -p 1433:1433 -d mssql

docker-compose

See docker-compose.yml for a service example.

License

MIT.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.