Skip to content

zouchao2010/insight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

insight

build

docker build -t zouchao2010/insight .

pull

docker pull zouchao2010/insight

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

docker run  --name insight \
            -h insight \
            -p 3001:3001 \
            -v /data/insight:/var/lib/insight \
            -e TESTNET=1 \
            -it --rm zouchao2010/insight
            

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

docker run  --name insight \
            --restart=always \
            -m 2048m \
            -h insight \
            -p 3001:3001 \
            -v /data/insight:/var/lib/insight \
            -e TESTNET=1 \
            -dt zouchao2010/insight
            

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

docker start|stop|restart insight

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

docker exec -it insight /bin/bash

About

insight

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages