1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Merge pull request #39 from nats-io/nats-box-nsc

Mention nats-box in the docs for nsc
This commit is contained in:
Ginger Collison 2020-01-24 09:29:59 -06:00 committed by GitHub
commit cc952801a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,25 @@ curl -L https://raw.githubusercontent.com/nats-io/nsc/master/install.py | python
The script will download the latest version of `nsc` and install it into your system.
Alternatively, you can use `nsc` with the [nats-box](https://hub.docker.com/r/synadia/nats-box) Docker image:
```sh
$ docker run --rm -it -v $(pwd)/nsc:/nsc synadia/nats-box:latest
# In case NSC not initialized already:
nats-box:~# nsc init
nats-box:~# chmod -R 1000:1000 /nsc
$ tree -L 2 nsc/
nsc/
├── accounts
│ ├── nats
│ └── nsc.json
└── nkeys
├── creds
└── keys
5 directories, 1 file
```
## Tutorials
You can find various task-oriented tutorials to working with the tool here: