如何用Docker部署BitTorrent的Tracker服务器

1. 获得代码

git clone ssh://your_username@10.20.10.34:29418/CloudRouter.git

2. 安装Docker

参考链接:https://docs.docker.com/installation/ubuntulinux/

安装后需配置内部源的HTTP访问:

vi /etc/default/docker

DOCKER_OPTS=” — insecure-registry=us.docker.tiegushi.com:5000"

3. 制作和上传Docker镜像(可选)

cd CloudRouter/torrent-tracker-docker

docker build -t us.docker.tiegushi.com:5000/imageName:0.4 .

docker push us.docker.tiegushi.com:5000/imageName:0.4

4.运行Docker镜像

docker run -p 8080:8000 -d us.docker.tiegushi.com:5000/torrent-tracker:0.4

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.