Skip to content

Commit 575ddd4

Browse files
authored
README: Docker installation docs (#424)
* README: Docker installation docs
1 parent 7e85d6b commit 575ddd4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,18 @@ sudo snap install sqlc
397397
go get github.com/kyleconroy/sqlc/cmd/sqlc
398398
```
399399

400+
### Docker
401+
402+
```
403+
docker pull kjconroy/sqlc
404+
```
405+
406+
Run `sqlc` using `docker run`:
407+
408+
```
409+
docker run --rm -v $(pwd):/src -w /src kjconroy/sqlc generate
410+
```
411+
400412
### Downloads
401413

402414
Binaries for a given release can be downloaded from the [stable channel on

0 commit comments

Comments
 (0)