You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We received feedback that some users prefer using src-cli via docker. We
publish an image for the purpose of serve-git, so was only documented
there. This includes basic information for those inclined to use docker.
Copy file name to clipboardExpand all lines: README.markdown
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,14 @@ chmod +x /usr/local/bin/src
63
63
64
64
See [Sourcegraph CLI for Windows](WINDOWS.md).
65
65
66
+
### Installation: Docker
67
+
68
+
`sourcegraph/src-cli` is published to Docker Hub. You can use the `latest` tag or a specific version such as `3.43`. To see all versions view [sourcegraph/src-cli tags](https://hub.docker.com/r/sourcegraph/src-cli/tags).
69
+
70
+
```bash
71
+
docker run --rm=true sourcegraph/src-cli:latest search 'hello world'
72
+
```
73
+
66
74
## Log into your Sourcegraph instance
67
75
68
76
Run <code><strong>src login <i>SOURCEGRAPH-URL</i></strong></code> to authenticate `src` to access your Sourcegraph instance with your user credentials.
0 commit comments