mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-02 21:23:41 +00:00
Updated Docker usage instructions (markdown)
@@ -1,74 +1,10 @@
|
||||
The GUI version doesn't work on non-Windows OS.
|
||||
To pull the latest version:
|
||||
|
||||
**Installing Docker CE**
|
||||
* [Debian](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Docker-usage-instructions#debian)
|
||||
* [Ubuntu](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Docker-usage-instructions#ubuntu)
|
||||
* [macOS](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Docker-usage-instructions#macos)
|
||||
$ docker pull tyrrrz/discordchatexporter
|
||||
|
||||
**[Using DiscordChatExporter](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Docker-usage-instructions#using-discordchatexporter-with-docker)**
|
||||
To export:
|
||||
|
||||
# Installing Docker CE
|
||||
## [Debian](https://docs.docker.com/install/linux/docker-ce/debian/)
|
||||
**OS Requirements**
|
||||
- Debian 8 (64-bit) or latest version
|
||||
|
||||
**Installation**
|
||||
|
||||
1. Open Terminal, type `su` and hit ENTER. You'll be prompted for your password.
|
||||
2. `apt update`
|
||||
3. `apt -y install sudo apt-transport-https ca-certificates curl gnupg2 software-properties-common`
|
||||
4. `curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -`
|
||||
5. `add-apt-repository
|
||||
"deb [arch=amd64] https://download.docker.com/linux/debian
|
||||
$(lsb_release -cs)
|
||||
stable"`
|
||||
6. `apt update`
|
||||
7. `apt -y install docker-ce`
|
||||
8. Verify if Docker was successfully installed by running the `hello-world` image:
|
||||
- `docker run hello-world`
|
||||
|
||||
## [Ubuntu](https://docs.docker.com/install/linux/docker-ce/ubuntu/)
|
||||
**OS Requirements**
|
||||
- Ubuntu 16 (64-bit) or latest version
|
||||
|
||||
**Installation**
|
||||
|
||||
1. Open Terminal and type `sudo apt update`
|
||||
2. `sudo apt -y install apt-transport-https ca-certificates curl software-properties-common`
|
||||
3. `curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -`
|
||||
4. `sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"`
|
||||
5. `sudo apt update`
|
||||
6. `sudo apt -y install docker-ce`
|
||||
7. Verify if Docker was successfully installed by running the `hello-world` image:
|
||||
- `docker run hello-world`
|
||||
|
||||
## [macOS](https://docs.docker.com/docker-for-mac/install/)
|
||||
**System Requirements**
|
||||
- 2010 Mac hardware or newer
|
||||
- macOS El Capitan 10.11 or latest version
|
||||
- 4 GB of RAM
|
||||
|
||||
**Installation**
|
||||
|
||||
1. [Download latest Docker CE macOS here](https://download.docker.com/mac/stable/Docker.dmg)
|
||||
2. Open `Docker.dmg`, then drag `Docker.app` to the Applications folder
|
||||
|
||||

|
||||
|
||||
3. Open `Docker` on your Applications folder and follow the instructions on-screen
|
||||
4. The whale () in the status bar indicates that Docker is running.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
5. Verify if Docker was successfully installed by searching and opening `Terminal.app` in Spotlight (⌘+SPACE), and pasting:
|
||||
- `docker run hello-world`
|
||||
|
||||
# Using DiscordChatExporter with Docker
|
||||
Open Terminal, replace `TOKEN` and `CHANNEL`, and execute this command to export the chat:
|
||||
|
||||
`sudo docker run "-v${PWD}:/a" tyrrrz/discordchatexporter export -t TOKEN -c CHANNEL`
|
||||
$ docker run tyrrrz/discordchatexporter export -t TOKEN -c CHANNEL
|
||||
|
||||
##
|
||||
Credits to [@simnalamburt](https://github.com/simnalamburt) and [@RenanYudi](https://github.com/RenanYudi)
|
||||
Credits to [@simnalamburt](https://github.com/simnalamburt)
|
||||
Reference in New Issue
Block a user