Public | Automated Build

Last pushed: a year ago
Short Description
relaynode
Full Description

relaynode

build

docker build -t zouchao2010/relaynode .

pull

docker pull zouchao2010/relaynode

run(创建并运行一个容器,退出时删除容器)

docker run  --name relaynode \
            -h relaynode \
            -e BITCOIND_P2P_HOST=127.0.0.1 \
            -e BITCOIND_P2P_PORT=8333 \
            -it --rm zouchao2010/relaynode

run(创建并运行一个容器,以守护进程方式)

docker run  --name relaynode \
            --restart=always \
            -m 1024m \
            -h relaynode \
            -e BITCOIND_P2P_HOST=127.0.0.1 \
            -e BITCOIND_P2P_PORT=8333 \
            -dt zouchao2010/relaynode

start|stop|restart(已存在的容器)

docker start|stop|restart relaynode

exec(使用已运行的容器执行命令)

docker exec -it relaynode /bin/bash
Docker Pull Command
Owner
zouchao2010
Source Repository

Comments (0)