mastodon / documentation

Mastodon documentation
https://docs.joinmastodon.org
GNU Free Documentation License v1.3
1.7k stars 968 forks source link

Documentation on using the provided docker image #770

Open tarasis opened 4 years ago

tarasis commented 4 years ago

You nicely provide a Docker image pre preprared but there doesn't appear to be any documentation on how to run it or configure it.

The only thing I can find is this post on the Mastodon discourse asking how to configure it

https://discourse.joinmastodon.org/t/mastodon-docker-name-is-mastodon-latest/2494

How do we a) configure it, b) run it?

I have used docker run -it tootsuite/mastodon /bin/bash to get into the image. There is no editor in the image (neither vim or nano), so its not clear how one would edit any files. You can't install one using apt

mastodon@6e97a37aa8ce:/$ apt install nano E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

Could you please add at least a basic guide on how to configure and run the docker image. I'd be happy to then extend it, add screen shots / whatever as a pull request.

Thank you.

nightpool commented 4 years ago

The docker image is only provided for users who are already comfortable with using Docker-based deployments, and the only supported configuration is with docker-compose.

We recommend the bare metal deployments for all admins.

shleeable commented 4 years ago

@tarasis

@nightpool boo. ;)

bamartos commented 3 years ago

Hi,

It will be super useful to provide a docker service documentation for development specific purposes.

Cheers

tarasis commented 3 years ago

@tarasis

  • I've never used the docker hub images.
  • I'm writing a docker documentation guide atm.

I completely forgot about this. I did get it working. Stupidly didn't document the steps, but can check through my command history.

Utopiah commented 1 year ago

See https://github.com/mastodon/documentation/issues/778 , could be closed if nothing will be done about it.

Lastorder-DC commented 1 year ago

Any updates? #1035 have lots of opinion about just adding page about docker installation.

danielkrajnik commented 8 months ago

My impression is that mastodon is an openwashed scheme to create another centralized service. Or am I jumping to conclusions too early?