制作geth 的镜像
来源:互联网 发布:钱规则网络剧 编辑:程序博客网 时间:2024/05/02 21:44
1 写Dockerfile
mkdir blccd blcvim DockerfileFROM ubuntu:16.04RUN apt-get update \ && apt-get install software-properties-common -y \ && add-apt-repository -y ppa:ethereum/ethereum \ && apt-get update \ && apt-get install ethereum -y
2 构建镜像
sudo docker build -t node:node1 .
flq1@ubuntu:~/blc$ sudo docker build -t node:node1 .Sending build context to Docker daemon 2.048 kBStep 1/2 : FROM ubuntu:16.04 ---> 20c44cd7596fStep 2/2 : RUN apt-get update && apt-get install software-properties-common -y && add-apt-repository -y ppa:ethereum/ethereum && apt-get update && apt-get install ethereum -y ---> Using cache ---> c4feb44697edSuccessfully built c4feb44697edflq1@ubuntu:~/blc$ sudo docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEnode node1 c4feb44697ed 4 hours ago 376 MB
3 用镜像创建容器
flq1@ubuntu:~/blc$ sudo docker run -it node:node1 /bin/bashroot@6b684add4ad8:/#
阅读全文
0 0
- 制作geth 的镜像
- img镜像的制作
- OpenStack镜像的制作
- 制作可自定义的winpe镜像
- 制作镜像资源的问题
- 原制作文件系统的Cramfs镜像
- 制作文件系统的JFFS2镜像
- 制作镜像需要注意的问题
- 03-镜像文件的制作
- 嵌入式 制作文件系统的JFFS2镜像
- openstack的windows镜像制作过程
- 制作openstack使用的Ubuntu镜像
- 制作mysql的docker镜像
- 磁盘镜像文件的制作
- OpenStack镜像制作要考虑的
- 制作自己的Docker镜像
- 制作ubuntu16.04的docker镜像
- 制作CentOS6.9的OpenStack镜像
- 区块链开发(十二)公有链、联盟链、私有链及网络配置介绍
- 51Nod
- 蓝桥杯基础练习:数列排序(数组、排序)
- 精选30道Java笔试题解答
- realm在rn中的使用,强力db
- 制作geth 的镜像
- MetaProgramming Chapter4
- linux下使用parted工具划分大于2T的分区
- set autotrace的用法和含意及区别(转)
- Eureka 源码解析 —— 应用实例注册发现(四)之自我保护机制
- php生成签名及验证签名
- JavaScript中使用join()方法分隔字符串
- $('xx')[0].files[0]是什么意思,Ajax上传文件至springMVC的controller
- poj2406——Power Strings