[
https://issues.apache.org/jira/browse/HADOOP-13397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565125#comment-15565125
]
Tsuyoshi Ozawa commented on HADOOP-13397:
-----------------------------------------
> The OS image contains minimally glibc and various other GPL components.
In my understanding, glibc and GPL components are distributed via another tar
ball(base image). If we create docker image for Hadoop, base image including
GPL files seems to be not included.
I played with golang:1.6-onbuild image to confirm with this script:
https://raw.githubusercontent.com/docker/docker/master/contrib/download-frozen-image-v2.sh
:
{quote}
$ ./download-frozen-image-v2.sh /tmp/b golang:1.6-onbuild
Downloading 'library/golang:[email protected]' (20 layers)...
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
\\########################################################################
100.0%
Download of images into '/tmp/b' complete.
$ cd /tmp/b/870716423ca9b2b721debfc28c19e54b50245839fef2f364d38d3452f77515ed
$ tar xvf layer.tar
x usr/
x usr/local/
x usr/local/bin/
x usr/local/bin/go-wrapper
{quote}
If we push docker image, it only includes diff: this is what I mentioned.
> Add dockerfile for Hadoop
> -------------------------
>
> Key: HADOOP-13397
> URL: https://issues.apache.org/jira/browse/HADOOP-13397
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Klaus Ma
> Assignee: Allen Wittenauer
> Attachments: HADOOP-13397.DNC001.patch
>
>
> For now, there's no community version Dockerfile in Hadoop; most of docker
> images are provided by vendor, e.g.
> 1. Cloudera's image: https://hub.docker.com/r/cloudera/quickstart/
> 2. From HortonWorks sequenceiq:
> https://hub.docker.com/r/sequenceiq/hadoop-docker/
> 3. MapR provides the mapr-sandbox-base:
> https://hub.docker.com/r/maprtech/mapr-sandbox-base/
> The proposal of this JIRA is to provide a community version Dockerfile in
> Hadoop, and here's some requirement:
> 1. Seperated docker image for master & agents, e.g. resource manager & node
> manager
> 2. Default configuration to start master & agent instead of configurating
> manually
> 3. Start Hadoop process as no-daemon
> Here's my dockerfile to start master/agent:
> https://github.com/k82cn/outrider/tree/master/kubernetes/imgs/yarn
> I'd like to contribute it after polishing :).
> Email Thread :
> http://mail-archives.apache.org/mod_mbox/hadoop-user/201607.mbox/%3CSG2PR04MB162977CFE150444FA022510FB6370%40SG2PR04MB1629.apcprd04.prod.outlook.com%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]