Skip to content

Instructions should not suggest auto-restarting the container #287

Closed as not planned
@dechamps

Description

@dechamps

The current README suggests the use of docker run --restart unless-stopped, which means the container will auto-restart on a crash.

There is a good chance this is what caused some trackers to ban Transmission due to transmission/transmission#7035 - basically, auto-restarting Transmission daemons waging an accidental DDoS attack on trackers.

In general, auto-restarting applications that can generate large amounts of network traffic at startup doesn't sound like a good idea.

Also, auto-restarting tends to hide problems instead of surfacing them so that they can be fixed properly.

The instructions should be updated to remove the suggestion to use --restart unless-stopped (for docker-compose and docker-cli examples). Ideally, a note should also be added to explicitly warn the user against the use of --restart.

Sadly this will not fix incorrect configuration in existing installs, but it will at least stop them from proliferating.

I tried to send a PR myself but couldn't understand how to do this given the README is auto-generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions