https://github.com/tjallo/DiscordPyBot
docker pull tjallew/discord-py-bot:latest
docker run \
-e BOT_TOKEN="bot_token" \
-e COMMAND_PREFIX="!" \
-e DESCRIPTION="Discord.py bot version 3.0 by Tjallo, Invoke !help [command] to see the full command description" \
-e REDDIT_CLIENT_ID="client_id" \
-e REDDIT_CLIENT_SECRET="client_secret" \
-e REDDIT_USER_AGENT="discord_bot" \
-e IMGFLIP_USER="usernm" \
-e IMGFLIP_PASSWORD="password" \
tjallew/discord-py-bot
Details you need for the enviroment variables can be found here:
These details will persist in the container when you run docker run! So you can run the created container without the enviroment variables afterwards. Using Docker Hub application for this management is recommended.