BelinaJaroslav / DBS_2020

0 stars 0 forks source link

Setup SQL Server in docker #2

Closed domcermak closed 3 years ago

domcermak commented 3 years ago

https://github.com/BelinaJaroslav/DBS_2020/issues/1

Pull the branch and run it locally so you know it works. Requirement for this is docker and terminal with bash.

To run DB locally, follow steps in docker/README.md When you think the DB is running, run docker ps in new terminal window. You should see something like

Doms-MBP-16:~ admin$ docker ps
CONTAINER ID   IMAGE                           COMMAND                  CREATED        STATUS          PORTS                     NAMES
6cdaa77ce7dc   docker_sqlserver_tul_dbs_2020   "/bin/sh -c /opt/mss…"   25 hours ago   Up 12 seconds   0.0.0.0:15789->1433/tcp   docker_sqlserver_tul_dbs_2020_1

To organize existing docker containers, I personally recommend kitematic.

BelinaJaroslav commented 3 years ago

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 2764f53ac0dc docker_sqlserver_tul_dbs_2020 "/bin/sh -c /opt/mss…" 4 minutes ago Up 4 minutes 0.0.0.0:15789->1433/tcp docker_sqlserver_tul_dbs_2020_1