https://github.com/brenordv/docker_preloaded_sqlserver
https://github.com/brenordv/docker_preloaded_sqlserver
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/brenordv/docker_preloaded_sqlserver
- Owner: brenordv
- Created: 2019-09-21T21:22:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-21T21:23:27.000Z (over 5 years ago)
- Last Synced: 2025-01-20T08:13:11.723Z (5 months ago)
- Language: TSQL
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Preloaded Sql Server
This is an example of how to create a Docker image that comes preloaded with some custom data.## How to use
1. Create your custom script and place it in the ```setup.sql``` file.2. Build the image.
```shell
docker build -t preLoadedSqlServer:latest .
```3. [optional] After the build, start a container.
```shell
docker-compose up -d
```Done!
If you want, you can change the image name from ```preLoadedSqlServer``` to something else.
---
This repo is part of a post from my site: https://raccoon.ninja