monstrenyatko / docker-transmission-daemon

Recipe to build the Transmission daemon Docker image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transmission daemon Docker image

About

Transmission daemon in the Docker container.

Upstream Links

Quick Start

Container is already configured for automatic restart (See docker-compose.yml).

The web interface is available on http://<ip-address>:9091/transmission/web.

  • Configure environment:

    • TRANSMISSION_DAEMON_DOWNLOADS: path to downloads directory:

        export TRANSMISSION_DAEMON_DOWNLOADS="/srv/downloads"
    • TRANSMISSION_DAEMON_UID: [OPTIONAL] UID to be used to run process instead of root:

        export TRANSMISSION_DAEMON_UID="1000"
    • TRANSMISSION_DAEMON_GID: [OPTIONAL] GID to be used to run process instead of root:

        export TRANSMISSION_DAEMON_GID="1000"
    • DOCKER_REGISTRY: [OPTIONAL] registry prefix to pull image from a custom Docker registry:

        export DOCKER_REGISTRY="my_registry_hostname:5000/"
    • NET_GW: [OPTIONAL] the network default GW to be used instead of one assigned by Docker. This option requires --cap-add=NET_ADMIN

  • Pull prebuilt Docker image:

      docker-compose pull
  • Start prebuilt image:

      docker-compose up -d
  • Stop/Restart:

      docker-compose stop
      docker-compose start

Build own image

  • default target platform:

      cd <path to sources>
      DOCKER_BUILDKIT=1 docker build --tag <tag name> .
  • arm/v6 target platform:

      cd <path to sources>
      DOCKER_BUILDKIT=1 docker build --platform=linux/arm/v6 --tag <tag name> .

About

Recipe to build the Transmission daemon Docker image

License:MIT License


Languages

Language:Shell 56.4%Language:Dockerfile 43.6%