测试中

root@ubu-blockchain2:~# ll
total 44
drwx------  5 root root 4096 Aug  4 09:48 ./
drwxr-xr-x 23 root root 4096 Jul 26 11:26 ../
-rw-r--r--  1 root root 3106 Oct 23  2015 .bashrc
drwx------  2 root root 4096 Jun 30 06:36 .cache/
drwxr-xr-x  4 root root 4096 Jul 27 15:59 ethereum-docker/
drwxr-xr-x 78 root root 4096 Jul 28 10:00 .npm/
-rw-r--r--  1 root root  148 Aug 17  2015 .profile
-rw-------  1 root root 9149 Aug  4 09:48 .viminfo
-rw-r--r--  1 root root  170 Jul 26 11:17 .wget-hsts
root@ubu-blockchain2:~# cd ethereum-docker/
root@ubu-blockchain2:~/ethereum-docker# ll
total 20
drwxr-xr-x 4 root root 4096 Jul 27 15:59 ./
drwx------ 5 root root 4096 Aug  4 09:48 ../
drwxr-xr-x 3 root root 4096 Jul 27 15:59 ethereum-docker/
drwxr-xr-x 8 root root 4096 Jul 27 15:59 .git/
-rw-r--r-- 1 root root  222 Jul 27 15:59 README.md
root@ubu-blockchain2:~/ethereum-docker# cd ethereum-docker/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker# ll
total 16
drwxr-xr-x 3 root root 4096 Jul 27 15:59 ./
drwxr-xr-x 4 root root 4096 Jul 27 15:59 ../
drwxr-xr-x 3 root root 4096 Jul 27 15:59 ethereum-testnet-docker/
-rw-r--r-- 1 root root  882 Jul 27 15:59 README.md
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker# cd ethereum-testnet-docker/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker# ll
total 12
drwxr-xr-x 3 root root 4096 Jul 27 15:59 ./
drwxr-xr-x 3 root root 4096 Jul 27 15:59 ../
drwxr-xr-x 5 root root 4096 Aug  4 09:48 dockercomposefiles/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker# cd dockercomposefiles/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles# ll
total 36
drwxr-xr-x 5 root root 4096 Aug  4 09:48 ./
drwxr-xr-x 3 root root 4096 Jul 27 15:59 ../
-rw-r--r-- 1 root root 4899 Aug  4 09:48 docker-compose-ethereum-testnet.yaml
drwxr-xr-x 5 root root 4096 Aug  4 09:49 ethcluster/
drwxr-xr-x 3 root root 4096 Jul 27 17:15 ethcluster_share/
drwxr-xr-x 2 root root 4096 Jul 28 10:31 ethcontract/
-rw-r--r-- 1 root root  904 Jul 27 17:09 genesis-779977.json
-rw-r--r-- 1 root root 1974 Jul 27 15:59 README.md
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles# cd ethcluster
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster# ll
total 20
drwxr-xr-x 5 root root 4096 Aug  4 09:49 ./
drwxr-xr-x 5 root root 4096 Aug  4 09:48 ../
drwxr-xr-x 3 root root 4096 Jul 27 16:01 cluster0/
drwxr-xr-x 3 root root 4096 Jul 27 16:01 cluster1/
drwxr-xr-x 3 root root 4096 Aug  4 09:49 cluster2/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster# cd cluster0
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0# ll
total 12
drwxr-xr-x 3 root root 4096 Jul 27 16:01 ./
drwxr-xr-x 5 root root 4096 Aug  4 09:49 ../
drwxr-xr-x 5 root root 4096 Jul 27 17:15 779977/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0# cd 779977/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977# ll
total 60
drwxr-xr-x 5 root root 4096 Jul 27 17:15 ./
drwxr-xr-x 3 root root 4096 Jul 27 16:01 ../
-rw-r--r-- 1 root root  157 Jul 27 17:15 bootnode-ip
drwx------ 6 root root 4096 Jul 27 17:15 data/
drwxr-xr-x 6 root root 4096 Jul 27 16:09 keystore/
drwxr-xr-x 2 root root 4096 Aug  4 09:49 log/
-rw-r--r-- 1 root root  642 Jul 27 17:15 nodes
-rw-r--r-- 1 root root  148 Jul 27 17:15 nodes0-[::]
-rw-r--r-- 1 root root  157 Jul 27 17:15 nodes0-ip
-rw-r--r-- 1 root root  148 Jul 27 17:15 nodes1-[::]
-rw-r--r-- 1 root root  157 Jul 27 17:15 nodes1-ip
-rw-r--r-- 1 root root  148 Jul 27 17:15 nodes2-[::]
-rw-r--r-- 1 root root  157 Jul 27 17:15 nodes2-ip
-rw-r--r-- 1 root root  148 Jul 27 17:15 nodes3-[::]
-rw-r--r-- 1 root root  157 Jul 27 17:15 nodes3-ip
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977# cd keystore/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore# ll
total 24
drwxr-xr-x 6 root root 4096 Jul 27 16:09 ./
drwxr-xr-x 5 root root 4096 Jul 27 17:15 ../
drwxr-xr-x 3 root root 4096 Jul 27 16:09 00/
drwxr-xr-x 3 root root 4096 Jul 27 16:09 01/
drwxr-xr-x 3 root root 4096 Jul 27 16:09 02/
drwxr-xr-x 3 root root 4096 Jul 27 16:09 03/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore# cd 00
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/00# ll
total 12
drwxr-xr-x 3 root root 4096 Jul 27 16:09 ./
drwxr-xr-x 6 root root 4096 Jul 27 16:09 ../
drwx------ 2 root root 4096 Jul 27 16:09 keystore/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/00# cd keystore/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/00/keystore# ll
total 16
drwx------ 2 root root 4096 Jul 27 16:09 ./
drwxr-xr-x 3 root root 4096 Jul 27 16:09 ../
-rw------- 1 root root  491 Jul 27 16:09 UTC--2017-07-27T08-01-28.912076303Z--3180dcc76461e3e6085bba6ce71562c976ea6f0d
-rw------- 1 root root  491 Jul 27 16:09 UTC--2017-07-27T08-09-41.536828653Z--033c4cf108bff0dde040081c7a740d502e5582a7
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/00/keystore# cd ..
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/00# cd ..
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore# cd 
root@ubu-blockchain2:~# cd ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/01
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/01# ll
total 12
drwxr-xr-x 3 root root 4096 Jul 27 16:09 ./
drwxr-xr-x 6 root root 4096 Jul 27 16:09 ../
drwx------ 2 root root 4096 Jul 27 16:09 keystore/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/01# cd keystore/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/01/keystore# ll
total 16
drwx------ 2 root root 4096 Jul 27 16:09 ./
drwxr-xr-x 3 root root 4096 Jul 27 16:09 ../
-rw------- 1 root root  491 Jul 27 16:09 UTC--2017-07-27T08-01-30.640250735Z--4c57e7e9c2f728046ddc6e96052056a241bdbd0a
-rw------- 1 root root  491 Jul 27 16:09 UTC--2017-07-27T08-09-43.079837057Z--e82e2f0a5abd8774767b9751659976f9c4f59181
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/01/keystore# cd ..
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/01# cd ..
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore# cd 02
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/02# ll
total 12
drwxr-xr-x 3 root root 4096 Jul 27 16:09 ./
drwxr-xr-x 6 root root 4096 Jul 27 16:09 ../
drwx------ 2 root root 4096 Jul 27 16:09 keystore/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/02# cd keystore/
root@ubu-blockchain2:~/ethereum-docker/ethereum-docker/ethereum-testnet-docker/dockercomposefiles/ethcluster/cluster0/779977/keystore/02/keystore# ll
total 16
drwx------ 2 root root 4096 Jul 27 16:09 ./
drwxr-xr-x 3 root root 4096 Jul 27 16:09 ../
-rw------- 1 root root  491 Jul 27 16:09 UTC--2017-07-27T08-01-31.808120143Z--7e84972e417a6aa32b5ef6d403a44a35d50c1999
-rw------- 1 root root  491 Jul 27 16:09 UTC--2017-07-27T08-09-44.281466141Z--7e38ed11945d3796c39f690cd359b5d0177a1be5
# Pull base image 
FROM daocloud.io/Ubuntu

MAINTAINER Fu Liqing 15622149705@163.com
# Update the repository
RUN apt-get update
RUN apt-get install python-software-properties
RUN apt-get install software-properties-common
RUN apt-get  install  vim
RUN add-apt-repository -y ppa:ethereum/ethereum
RUN apt-get update
RUN apt-get install ethereum
# Arguments set with CMD can be overridden during *run*
CMD "Hello docker!"

Ucsmy!))*
docker build -t my_test .
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值