Code Monkey home page Code Monkey logo

docker-transmission's Introduction

Docker-Transmission

Transmission是一种BitTorrent客户端,特点是一个跨平台的后端和其上的简洁的用户界面。特别适合用来跑PT,为了方便使用,打包为Docker镜像,已安装transmission-web-control界面美化。

构建

# 克隆仓库
git clone https://github.com/helloxz/docker-transmission.git
# 进入仓库目录
cd docker-transmission
# 构建Docker镜像
docker build -t yourname:transmission .

运行

如果是参考上述方法自行构建,输入:

docker run -d --name="transmission" \
  -e USERNAME=xiaoz \
  -e PASSWORD=xiaoz.me \
  -p 9091:9091 \
  -p 51413:51413 \
  -p 51413:51413/udp \
  -v /data/test:/root/Downloads \
  --restart=always \
  yourname:transmission

如果不想自行构建,xiaoz已打包为Docker镜像,可以直接输入以下命令运行:

docker run -d --name="transmission" \
  -e USERNAME=xiaoz \
  -e PASSWORD=xiaoz.me \
  -p 9091:9091 \
  -p 51413:51413 \
  -p 51413:51413/udp \
  -v /data/downloads:/root/Downloads \
  -v /data/transmission:/root/.config/transmission-daemon \
  --restart=always \
  helloz/transmission

参数说明:

  • USERNAME: Transmission 用户名
  • PASSWORD: Transmission密码
  • /data/downloads: 为本地下载文件夹,请根据实际情况修改
  • /data/transmission: 配置文件等存储目录,请根据实际情况修改

联系我

docker-transmission's People

Contributors

helloxz avatar tnnd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.