Mastodon Docker Setup Setting up Clone Mastodon's repository. # Clone mastodon to ~/mastodon directory git clone https://github.com/tootsuite/mastodon.git mastodon # Change directory to ~/mastodon cd ~/mastodon