Giter VIP home page Giter VIP logo

mssql-docker-enhanced's Introduction

mssql-docker-enhanced - Enhanced MSSQL Docker Container(s)

Dockerfile and Scripts to create an enhanced mssql container.

  • Waits for the server to actually be ready before allowing connections
  • Initializes a Database and User/Password for that database.

These are not published anywhere, you'll need to build yourself, this is for demonstration.

Notes/Warnings

  • Needs testing, this is modified from another project rather quickly to try to simplify the output... should work, but untested in this repo.
  • Must run in privileged mode (uses iptables internally).
  • Cannot use in a read-only manner.
  • Uses output redirection to a runtime file internally.

MSSQL With Database/User creation on start.

You'll want to pass the following environment variables at (first) startup to ensure a database is created, and a user is created and dbo for that database.

  • SA_PASSWORD - Used for SA Account creation, and to run scritps to create db/user
  • MSSQL_DB_NAME - Database Name to Create
  • MSSQL_DB_USER - User login to Create
  • MSSQL_DB_PASS - Password to use for the User specified upon creation
  • ACCEPT_EULA - Accept MSSQL EULA (Y is the value you must use)
  • MSSQL_PID (optional) - Product ID To Use (Developer is default)

scripts

The scripts/ directory will be mounted into /scripts and is added to the path.

All files in scripts/ should be marked +x, on container initialization, if this is not the case, you can run chmod +x /scripts/* inside the container.

License

MIT Licensed

mssql-docker-enhanced's People

Contributors

tracker1 avatar

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.