:stable

Yudi
2020-04-28 01:38:18 -03:00
parent d154894e78
commit 0bcd8ec9d3

@@ -3,31 +3,32 @@
This will download the [Docker image from the registry](https://hub.docker.com/r/tyrrrz/discordchatexporter) to your computer. You can run this command again when a new version is released in order to update.
```
docker pull tyrrrz/discordchatexporter
docker pull tyrrrz/discordchatexporter:stable
```
Note the `:stable` tag. It is not recommended to run the `:latest` docker releases since they are unstable.
_Note: Only the CLI version is available in Docker._
> Only the CLI version is available in Docker.
### Usage
To run the CLI in Docker and render help text:
```
docker run --rm tyrrrz/discordchatexporter
docker run --rm tyrrrz/discordchatexporter:stable
```
<br/>
To export a channel:
```
docker run --rm -v /path/on/machine:/app/out tyrrrz/discordchatexporter export -t TOKEN -c CHANNELID
docker run --rm -v /path/on/machine:/app/out tyrrrz/discordchatexporter:stable export -t TOKEN -c CHANNELID
```
<br/>
If you want colored output, real-time progress reporting, and some other stuff, pass `-it` (interactive) option:
```
docker run --rm -it -v /path/on/machine:/app/out tyrrrz/discordchatexporter export -t TOKEN -c CHANNELID
docker run --rm -it -v /path/on/machine:/app/out tyrrrz/discordchatexporter:stable export -t TOKEN -c CHANNELID
```
<br/>