Skip to content

Commit d1ff65b

Browse files
committed
Added some info about usage
1 parent e967f3d commit d1ff65b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,20 @@ All other parts of the library are licenced under [BSD 2-Clause License](LICENSE
1111

1212
## Usage
1313

14+
Connect to an Sqlsrv inside another container (Container name is "my-sqlsrv"):
1415

16+
```bash
17+
docker run -it --link my-sqlsrv:sqlsrv fabiang/sqlcmd -S sqlsrv -U sa
18+
```
19+
20+
Or to any other server on the network:
21+
22+
```bash
23+
docker run -it fabiang/sqlcmd -S some-sqlsrv -U sa
24+
```
25+
26+
Get available options with:
27+
28+
```bash
29+
docker run -it fabiang/sqlcmd '-?'
30+
```

0 commit comments

Comments
 (0)