测试中

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 [email protected]
# 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 .

你可能感兴趣的:(以太坊,docker-工具)