eBay / griffin

Model driven data quality service
https://ebay.github.io/griffin/
Other
240 stars 165 forks source link

Cannot create container with more than 127 parents #32

Open lemon-zmd opened 7 years ago

lemon-zmd commented 7 years ago

following the docker installation instruction, I met 'Cannot create container with more than 127 parents' when I built the griffin-env. I retried it on mac and centos 6.7 . Is there any solution ?

bhlx3lyx7 commented 7 years ago

We haven't met such issue before, it seems like something with docker parent images number limit, but the dockerFile steps is much less than 127, can you please paste your docker info here, such as in which step it occurs. And we also want to know your system env and docker version. Thanks a lot.

lemon-zmd commented 7 years ago

After I built the griffin-base-env, when build griffin env : docker build --no-cache -t griffin-env . Sending build context to Docker daemon 543.2 kB Sending build context to Docker daemon Step 0 : FROM griffin-base-env:latest ---> c50129b3e0d7 Step 1 : MAINTAINER com.ebay.oss ---> Running in acfe52159f63 ---> c27726c5a097 Removing intermediate container acfe52159f63 Step 2 : ADD script/_.sh $GRIFFINHOME/ ---> 1f2d58cf8461 Removing intermediate container 3522982b44be Step 3 : ADD ./.sh $GRIFFIN_HOME/ ---> 0a89007502ce Removing intermediate container 58287b7759ce Step 4 : RUN mkdir $GRIFFIN_HOME/tmp $GRIFFIN_HOME/temp $GRIFFIN_HOME/log ---> Running in 204990c8cb36 ---> 66aebcaa4a34 Removing intermediate container 204990c8cb36 Step 5 : RUN chmod -R 755 $GRIFFIN_HOME ---> Running in 74d6fd988657 ---> e087c58e1e18 Removing intermediate container 74d6fd988657 Step 6 : RUN mkdir /db ---> Running in 4b292cd2d8ca ---> aa235f3904c2 Removing intermediate container 4b292cd2d8ca Step 7 : ADD db /db ---> af089ae20255 Removing intermediate container 59df40041edc Step 8 : ENV APACHE_HOME /apache/tomcat ---> Running in 9f4ab1562c73 ---> 93896bc85576 Removing intermediate container 9f4ab1562c73 Step 9 : RUN rm -rf $APACHE_HOME/webapps/* ---> Running in d249901d2875 ---> e84890a28164 Removing intermediate container d249901d2875 Step 10 : WORKDIR $GRIFFIN_HOME Cannot create container with more than 127 parents

lemon-zmd commented 7 years ago

here is the docker info : Containers: 0 Images: 125 Storage Driver: devicemapper Pool Name: docker-202:0-157072-pool Pool Blocksize: 65.54 kB Backing Filesystem: extfs Data file: /dev/loop0 Metadata file: /dev/loop1 Data Space Used: 4.778 GB Data Space Total: 107.4 GB Data Space Available: 44.4 GB Metadata Space Used: 7.95 MB Metadata Space Total: 2.147 GB Metadata Space Available: 2.14 GB Udev Sync Supported: true Deferred Removal Enabled: false Data loop file: /var/lib/docker/devicemapper/devicemapper/data Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata Library Version: 1.02.117-RHEL6 (2016-08-15) Execution Driver: native-0.2 Logging Driver: json-file

bhlx3lyx7 commented 7 years ago

We can not reproduce this issue in our environment, which is ubuntu 14.04 with docker version 1.12.0. Would you mind tell us your system env info and docker version? By the way, maybe you can refer to this link https://github.com/docker/docker/issues/12624, which seems to be the limit of docker parent images number. Thanks a lot, and you can also contact us by email ebay-griffin-devs@googlegroups.com

bhlx3lyx7 commented 7 years ago

We've now provided our built docker image on docker hub, you can just pull it and run, follow the new steps here. Thank you for your problems to push us forward.