首页 > 代码库 > 002_docker构建zookeeper环境

002_docker构建zookeeper环境

最近因为要维护公司zk环境,所以自己先得搞一套先玩玩

git地址=>https://github.com/jplock/docker-zookeeper/tree/v3.4.9

一、

Usage: docker build [OPTIONS] PATH | URL | -

Options:
           --build-arg list Set build-time variables (default [])

 

arun:docker-zookeeper arunyang$ docker build -t arun/zookeeper:3.4.9 .
Sending build context to Docker daemon  7.68 kB
Step 1/11 : FROM openjdk:8-jre-alpine
8-jre-alpine: Pulling from library/openjdk
627beaf3eaaf: Pull complete
1de20f2d8b83: Pull complete

  

 

参考:

http://seanlook.com/2014/11/17/dockerfile-introduction/

http://www.cnblogs.com/coolworld/p/5486656.html

 

002_docker构建zookeeper环境