diff --git a/Docker-usage-instructions.md b/Docker-usage-instructions.md index b0a0792..47618de 100644 --- a/Docker-usage-instructions.md +++ b/Docker-usage-instructions.md @@ -4,20 +4,19 @@ To pull the latest version: To export: - $ docker run tyrrrz/discordchatexporter export -t TOKEN -c CHANNEL + $ docker run --rm tyrrrz/discordchatexporter export -t TOKEN -c CHANNEL To export using a Bot Token just add `-b`: - $ docker run tyrrrz/discordchatexporter export -t TOKEN -c CHANNEL -b + $ docker run --rm tyrrrz/discordchatexporter export -t TOKEN -c CHANNEL -b -The CLI options can be found at: +To get help and real-time progress reporting, use interactive mode: - $ docker run -it tyrrrz/discordchatexporter -# + $ docker run --rm -it tyrrrz/discordchatexporter -A docker image's export path is in /a, to export the file to host use: +When running in Docker, DiscordChatExporter exports to `/app/out` unless `-o/--output` parameter is specified. In order to access the output files, you need to bind the output directory to a directory on your host system. - $ docker run -v $PWD:/a tyrrrz/discordchatexporter export -t TOKEN -c CHANNEL + $ docker run --rm -v /some/path/on/host:/app/out tyrrrz/discordchatexporter export -t TOKEN -c CHANNEL ##