Skip to content

Instantly share code, notes, and snippets.

@wagjo
Created November 10, 2016 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wagjo/0bbe3bb57e23e4e5acc4053ce21b6ef8 to your computer and use it in GitHub Desktop.
Save wagjo/0bbe3bb57e23e4e5acc4053ce21b6ef8 to your computer and use it in GitHub Desktop.
zombodb docker logs
wagjo@wagjo-dell ~/bla $ git clone --depth 1 https://github.com/zombodb/zombodb.git
Cloning into 'zombodb'...
remote: Counting objects: 467, done.
remote: Compressing objects: 100% (394/394), done.
remote: Total 467 (delta 103), reused 223 (delta 42), pack-reused 0
Receiving objects: 100% (467/467), 144.57 MiB | 787.00 KiB/s, done.
Resolving deltas: 100% (103/103), done.
wagjo@wagjo-dell ~/bla/zombodb/docker $ docker-compose --version
docker-compose version 1.9.0-rc4, build 181a4e9
wagjo@wagjo-dell ~/bla/zombodb/docker $ docker-compose build
Building zombodb_elastic
Step 1 : FROM java:7
7: Pulling from library/java
386a066cd84a: Pull complete
75ea84187083: Pull complete
88b459c9f665: Pull complete
690dbea0e4ca: Pull complete
62d24e93d031: Pull complete
0425b1e2a6d7: Pull complete
Digest: sha256:9190fed946554cbd6e9922eb478b6417f37b8a2b02067ab1ab5876c42afa432c
Status: Downloaded newer image for java:7
---> 4a42f05dc422
Step 2 : ENV ES_PKG_NAME elasticsearch-1.7.5
---> Running in 9d6b9643b9bf
---> 5a46a559f291
Removing intermediate container 9d6b9643b9bf
Step 3 : ENV ZOMBODB_VER 3.0.1
---> Running in cfc55a273ed6
---> 94f18e3589ae
Removing intermediate container cfc55a273ed6
Step 4 : RUN cd / && wget https://download.elastic.co/elasticsearch/elasticsearch/$ES_PKG_NAME.tar.gz && tar xvzf $ES_PKG_NAME.tar.gz && rm -f $ES_PKG_NAME.tar.gz && mv /$ES_PKG_NAME /elasticsearch
---> Running in 0695062b55d5
--2016-11-09 11:00:48-- https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz
Resolving download.elastic.co (download.elastic.co)... 184.73.218.216, 107.22.226.93, 23.21.248.223, ...
Connecting to download.elastic.co (download.elastic.co)|184.73.218.216|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28487351 (27M) [application/x-tar]
Saving to: ‘elasticsearch-1.7.5.tar.gz’
0K .......... .......... .......... .......... .......... 0% 176K 2m38s
50K .......... .......... .......... .......... .......... 0% 307K 2m4s
...
27650K .......... .......... .......... .......... .......... 99% 851K 0s
27700K .......... .......... .......... .......... .......... 99% 846K 0s
27750K .......... .......... .......... .......... .......... 99% 858K 0s
27800K .......... ......... 100% 1.37M=35s
2016-11-09 11:01:24 (791 KB/s) - ‘elasticsearch-1.7.5.tar.gz’ saved [28487351/28487351]
elasticsearch-1.7.5/lib/lucene-core-4.10.4.jar
elasticsearch-1.7.5/lib/lucene-analyzers-common-4.10.4.jar
elasticsearch-1.7.5/lib/lucene-queries-4.10.4.jar
elasticsearch-1.7.5/lib/lucene-memory-4.10.4.jar
elasticsearch-1.7.5/lib/lucene-highlighter-4.10.4.jar
elasticsearch-1.7.5/lib/lucene-queryparser-4.10.4.jar
elasticsearch-1.7.5/lib/lucene-sandbox-4.10.4.jar
elasticsearch-1.7.5/lib/lucene-suggest-4.10.4.jar
elasticsearch-1.7.5/lib/lucene-misc-4.10.4.jar
elasticsearch-1.7.5/lib/lucene-join-4.10.4.jar
elasticsearch-1.7.5/lib/lucene-grouping-4.10.4.jar
elasticsearch-1.7.5/lib/lucene-spatial-4.10.4.jar
elasticsearch-1.7.5/lib/spatial4j-0.4.1.jar
elasticsearch-1.7.5/lib/lucene-expressions-4.10.4.jar
elasticsearch-1.7.5/lib/antlr-runtime-3.5.jar
elasticsearch-1.7.5/lib/asm-4.1.jar
elasticsearch-1.7.5/lib/asm-commons-4.1.jar
elasticsearch-1.7.5/lib/jts-1.13.jar
elasticsearch-1.7.5/lib/groovy-all-2.4.4.jar
elasticsearch-1.7.5/lib/log4j-1.2.17.jar
elasticsearch-1.7.5/lib/apache-log4j-extras-1.2.17.jar
elasticsearch-1.7.5/lib/jna-4.1.0.jar
elasticsearch-1.7.5/lib/elasticsearch-1.7.5.jar
elasticsearch-1.7.5/README.textile
elasticsearch-1.7.5/LICENSE.txt
elasticsearch-1.7.5/NOTICE.txt
elasticsearch-1.7.5/config/elasticsearch.yml
elasticsearch-1.7.5/config/logging.yml
elasticsearch-1.7.5/bin/plugin.bat
elasticsearch-1.7.5/bin/service.bat
elasticsearch-1.7.5/bin/elasticsearch.in.bat
elasticsearch-1.7.5/bin/elasticsearch.bat
elasticsearch-1.7.5/bin/elasticsearch-service-mgr.exe
elasticsearch-1.7.5/bin/elasticsearch-service-x86.exe
elasticsearch-1.7.5/bin/elasticsearch-service-x64.exe
elasticsearch-1.7.5/bin/elasticsearch.in.sh
elasticsearch-1.7.5/bin/plugin
elasticsearch-1.7.5/bin/elasticsearch
elasticsearch-1.7.5/lib/sigar/sigar-x86-winnt.dll
elasticsearch-1.7.5/lib/sigar/libsigar-amd64-linux.so
elasticsearch-1.7.5/lib/sigar/libsigar-sparc64-solaris.so
elasticsearch-1.7.5/lib/sigar/libsigar-x86-freebsd-6.so
elasticsearch-1.7.5/lib/sigar/libsigar-sparc-solaris.so
elasticsearch-1.7.5/lib/sigar/libsigar-x86-linux.so
elasticsearch-1.7.5/lib/sigar/libsigar-amd64-freebsd-6.so
elasticsearch-1.7.5/lib/sigar/libsigar-x86-solaris.so
elasticsearch-1.7.5/lib/sigar/libsigar-universal64-macosx.dylib
elasticsearch-1.7.5/lib/sigar/sigar-amd64-winnt.dll
elasticsearch-1.7.5/lib/sigar/sigar-x86-winnt.lib
elasticsearch-1.7.5/lib/sigar/libsigar-amd64-solaris.so
elasticsearch-1.7.5/lib/sigar/libsigar-universal-macosx.dylib
elasticsearch-1.7.5/lib/sigar/sigar-1.6.4.jar
elasticsearch-1.7.5/lib/sigar/libsigar-x86-freebsd-5.so
elasticsearch-1.7.5/lib/sigar/libsigar-ia64-linux.so
---> f7cf0e99b27e
Removing intermediate container 0695062b55d5
Step 5 : VOLUME /data
---> Running in 2f6fd4db6de8
---> 743b60eda656
Removing intermediate container 2f6fd4db6de8
Step 6 : ADD config/elasticsearch.yml /elasticsearch/config/elasticsearch.yml
---> 748ce5042d25
Removing intermediate container 0ec8682c6b0b
Step 7 : RUN cd / && mkdir zombodb && cd zombodb && wget https://github.com/zombodb/zombodb/releases/download/v$ZOMBODB_VER/zombodb-es-plugin-$ZOMBODB_VER.zip
---> Running in 305cda92d0d9
--2016-11-09 11:01:25-- https://github.com/zombodb/zombodb/releases/download/v3.0.1/zombodb-es-plugin-3.0.1.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-cloud.s3.amazonaws.com/releases/39265047/9bc1edd2-5cb1-11e6-92f7-c765213c0f90.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20161109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20161109T110126Z&X-Amz-Expires=300&X-Amz-Signature=3bae065d289a4838301d0568b5d6c5058186b6db57f6c71ca5ec94d64abc192f&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dzombodb-es-plugin-3.0.1.zip&response-content-type=application%2Foctet-stream [following]
--2016-11-09 11:01:26-- https://github-cloud.s3.amazonaws.com/releases/39265047/9bc1edd2-5cb1-11e6-92f7-c765213c0f90.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20161109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20161109T110126Z&X-Amz-Expires=300&X-Amz-Signature=3bae065d289a4838301d0568b5d6c5058186b6db57f6c71ca5ec94d64abc192f&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dzombodb-es-plugin-3.0.1.zip&response-content-type=application%2Foctet-stream
Resolving github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)... 52.216.1.208
Connecting to github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)|52.216.1.208|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1623620 (1.5M) [application/octet-stream]
Saving to: ‘zombodb-es-plugin-3.0.1.zip’
0K .......... .......... .......... .......... .......... 3% 157K 10s
50K .......... .......... .......... .......... .......... 6% 209K 8s
100K .......... .......... .......... .......... .......... 9% 367K 7s
150K .......... .......... .......... .......... .......... 12% 869K 5s
200K .......... .......... .......... .......... .......... 15% 569K 4s
250K .......... .......... .......... .......... .......... 18% 802K 4s
300K .......... .......... .......... .......... .......... 22% 803K 3s
350K .......... .......... .......... .......... .......... 25% 182K 4s
400K .......... .......... .......... .......... .......... 28% 147M 3s
450K .......... .......... .......... .......... .......... 31% 595K 3s
500K .......... .......... .......... .......... .......... 34% 1.16M 3s
550K .......... .......... .......... .......... .......... 37% 187K 3s
600K .......... .......... .......... .......... .......... 40% 1.42M 2s
650K .......... .......... .......... .......... .......... 44% 72.2M 2s
700K .......... .......... .......... .......... .......... 47% 130K 2s
750K .......... .......... .......... .......... .......... 50% 34.5M 2s
800K .......... .......... .......... .......... .......... 53% 41.1M 2s
850K .......... .......... .......... .......... .......... 56% 138M 2s
900K .......... .......... .......... .......... .......... 59% 117M 1s
950K .......... .......... .......... .......... .......... 63% 122M 1s
1000K .......... .......... .......... .......... .......... 66% 134M 1s
1050K .......... .......... .......... .......... .......... 69% 160M 1s
1100K .......... .......... .......... .......... .......... 72% 156M 1s
1150K .......... .......... .......... .......... .......... 75% 90.6M 1s
1200K .......... .......... .......... .......... .......... 78% 183K 1s
1250K .......... .......... .......... .......... .......... 81% 60.1K 1s
1300K .......... .......... .......... .......... .......... 85% 180K 1s
1350K .......... .......... .......... .......... .......... 88% 360K 0s
1400K .......... .......... .......... .......... .......... 91% 885K 0s
1450K .......... .......... .......... .......... .......... 94% 526K 0s
1500K .......... .......... .......... .......... .......... 97% 825K 0s
1550K .......... .......... .......... ..... 100% 767K=3.8s
2016-11-09 11:01:30 (413 KB/s) - ‘zombodb-es-plugin-3.0.1.zip’ saved [1623620/1623620]
---> 744216f85c34
Removing intermediate container 305cda92d0d9
Step 8 : RUN /elasticsearch/bin/plugin -i zombodb -u file:///zombodb/zombodb-es-plugin-$ZOMBODB_VER.zip
---> Running in 775701fe2c96
-> Installing zombodb...
Trying file:/zombodb/zombodb-es-plugin-3.0.1.zip...
Downloading ................DONE
Installed zombodb into /elasticsearch/plugins/zombodb
---> b112b5bc7252
Removing intermediate container 775701fe2c96
Step 9 : WORKDIR /data
---> Running in e06ade1ed948
---> 6f8042525573
Removing intermediate container e06ade1ed948
Step 10 : CMD /elasticsearch/bin/elasticsearch
---> Running in 13ee7deb89e3
---> 639413357959
Removing intermediate container 13ee7deb89e3
Step 11 : EXPOSE 9200
---> Running in bde997f3f2f5
---> fde0c38e65f5
Removing intermediate container bde997f3f2f5
Step 12 : EXPOSE 9300
---> Running in 9a03d246a293
---> 80b17602ea0f
Removing intermediate container 9a03d246a293
Successfully built 80b17602ea0f
Building zombodb_postgres
Step 1 : FROM postgres:9.5
9.5: Pulling from library/postgres
386a066cd84a: Already exists
e6dd80b38d38: Pull complete
9cd706823821: Pull complete
40c17ac202a9: Pull complete
7380b383ba3d: Pull complete
538e418b46ce: Pull complete
94d2299e5dca: Pull complete
15cc322e0111: Pull complete
bfcccad2e159: Pull complete
323df6818afe: Pull complete
9908e2779cd7: Pull complete
Digest: sha256:c799bacde4426c0e57aaba7b2b90bd1d6ae61e5a7edbd6f36586ad2efea4444b
Status: Downloaded newer image for postgres:9.5
---> fc96933583ad
Step 2 : ENV ZOMBODB_VER 3.1.0
---> Running in fadfd4a70685
---> c7c42f349f51
Removing intermediate container fadfd4a70685
Step 3 : RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/*
---> Running in 6c5cf6c987e0
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 http://apt.postgresql.org jessie-pgdg InRelease [46.5 kB]
Get:3 http://security.debian.org jessie/updates/main amd64 Packages [402 kB]
Ign http://deb.debian.org jessie InRelease
Get:4 http://apt.postgresql.org jessie-pgdg/main amd64 Packages [107 kB]
Get:5 http://deb.debian.org jessie-updates InRelease [145 kB]
Get:6 http://apt.postgresql.org jessie-pgdg/9.5 amd64 Packages [1,709 B]
Get:7 http://deb.debian.org jessie Release.gpg [2,373 B]
Get:8 http://deb.debian.org jessie Release [148 kB]
Get:9 http://deb.debian.org jessie-updates/main amd64 Packages [17.6 kB]
Get:10 http://deb.debian.org jessie/main amd64 Packages [9,064 kB]
Fetched 9,997 kB in 14s (687 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libicu52 libidn11 libpsl0
The following NEW packages will be installed:
ca-certificates libicu52 libidn11 libpsl0 wget
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
Need to get 7,662 kB of archives.
After this operation, 31.0 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian/ jessie/main libidn11 amd64 1.29-1+deb8u2 [136 kB]
Get:2 http://deb.debian.org/debian/ jessie/main libicu52 amd64 52.1-8+deb8u3 [6,784 kB]
Get:3 http://deb.debian.org/debian/ jessie/main libpsl0 amd64 0.5.1-1 [41.6 kB]
Get:4 http://deb.debian.org/debian/ jessie/main wget amd64 1.16-1+deb8u1 [496 kB]
Get:5 http://deb.debian.org/debian/ jessie/main ca-certificates all 20141019+deb8u1 [204 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 7,662 kB in 10s (758 kB/s)
Selecting previously unselected package libidn11:amd64.
(Reading database ... 12514 files and directories currently installed.)
Preparing to unpack .../libidn11_1.29-1+deb8u2_amd64.deb ...
Unpacking libidn11:amd64 (1.29-1+deb8u2) ...
Selecting previously unselected package libicu52:amd64.
Preparing to unpack .../libicu52_52.1-8+deb8u3_amd64.deb ...
Unpacking libicu52:amd64 (52.1-8+deb8u3) ...
Selecting previously unselected package libpsl0:amd64.
Preparing to unpack .../libpsl0_0.5.1-1_amd64.deb ...
Unpacking libpsl0:amd64 (0.5.1-1) ...
Selecting previously unselected package wget.
Preparing to unpack .../wget_1.16-1+deb8u1_amd64.deb ...
Unpacking wget (1.16-1+deb8u1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20141019+deb8u1_all.deb ...
Unpacking ca-certificates (20141019+deb8u1) ...
Setting up libidn11:amd64 (1.29-1+deb8u2) ...
Setting up libicu52:amd64 (52.1-8+deb8u3) ...
Setting up libpsl0:amd64 (0.5.1-1) ...
Setting up wget (1.16-1+deb8u1) ...
Setting up ca-certificates (20141019+deb8u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Processing triggers for ca-certificates (20141019+deb8u1) ...
Updating certificates in /etc/ssl/certs... 174 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
---> 39b5f0659d76
Removing intermediate container 6c5cf6c987e0
Step 4 : RUN apt-get update -y -qq --fix-missing
---> Running in 8127e3956a04
---> 027e8268265b
Removing intermediate container 8127e3956a04
Step 5 : RUN apt-get install -y curl
---> Running in 0680b2332179
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libcurl3 librtmp1 libssh2-1
The following NEW packages will be installed:
curl libcurl3 librtmp1 libssh2-1
0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 645 kB of archives.
After this operation, 1,335 kB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main libcurl3 amd64 7.38.0-4+deb8u5 [259 kB]
Get:2 http://security.debian.org/ jessie/updates/main curl amd64 7.38.0-4+deb8u5 [200 kB]
Get:3 http://deb.debian.org/debian/ jessie/main librtmp1 amd64 2.4+20150115.gita107cef-1 [59.8 kB]
Get:4 http://deb.debian.org/debian/ jessie/main libssh2-1 amd64 1.4.3-4.1+deb8u1 [125 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 645 kB in 1s (484 kB/s)
Selecting previously unselected package librtmp1:amd64.
(Reading database ... 12806 files and directories currently installed.)
Preparing to unpack .../librtmp1_2.4+20150115.gita107cef-1_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20150115.gita107cef-1) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../libssh2-1_1.4.3-4.1+deb8u1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.4.3-4.1+deb8u1) ...
Selecting previously unselected package libcurl3:amd64.
Preparing to unpack .../libcurl3_7.38.0-4+deb8u5_amd64.deb ...
Unpacking libcurl3:amd64 (7.38.0-4+deb8u5) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.38.0-4+deb8u5_amd64.deb ...
Unpacking curl (7.38.0-4+deb8u5) ...
Setting up librtmp1:amd64 (2.4+20150115.gita107cef-1) ...
Setting up libssh2-1:amd64 (1.4.3-4.1+deb8u1) ...
Setting up libcurl3:amd64 (7.38.0-4+deb8u5) ...
Setting up curl (7.38.0-4+deb8u5) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
---> 1e7132be5438
Removing intermediate container 0680b2332179
Step 6 : RUN cd / && mkdir zombodb && cd zombodb && wget https://github.com/zombodb/zombodb/releases/download/v${ZOMBODB_VER}/zombodb_jessie_pg95-${ZOMBODB_VER}_amd64.deb
---> Running in efffbf38056f
--2016-11-09 11:03:37-- https://github.com/zombodb/zombodb/releases/download/v3.1.0/zombodb_jessie_pg95-3.1.0_amd64.deb
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-cloud.s3.amazonaws.com/releases/39265047/8937fed2-a2a1-11e6-8e67-8c1e71f0a5f9.deb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20161109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20161109T110338Z&X-Amz-Expires=300&X-Amz-Signature=a6a9ac6a405c8f47119e3c7d382a7bb6fc7635695a7b5a1113f03bb97bc8a03f&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dzombodb_jessie_pg95-3.1.0_amd64.deb&response-content-type=application%2Foctet-stream [following]
--2016-11-09 11:03:38-- https://github-cloud.s3.amazonaws.com/releases/39265047/8937fed2-a2a1-11e6-8e67-8c1e71f0a5f9.deb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20161109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20161109T110338Z&X-Amz-Expires=300&X-Amz-Signature=a6a9ac6a405c8f47119e3c7d382a7bb6fc7635695a7b5a1113f03bb97bc8a03f&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dzombodb_jessie_pg95-3.1.0_amd64.deb&response-content-type=application%2Foctet-stream
Resolving github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)... 54.231.113.195
Connecting to github-cloud.s3.amazonaws.com (github-cloud.s3.amazonaws.com)|54.231.113.195|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 334206 (326K) [application/octet-stream]
Saving to: ‘zombodb_jessie_pg95-3.1.0_amd64.deb’
0K .......... .......... .......... .......... .......... 15% 174K 2s
50K .......... .......... .......... .......... .......... 30% 304K 1s
100K .......... .......... .......... .......... .......... 45% 350K 1s
150K .......... .......... .......... .......... .......... 61% 425K 0s
200K .......... .......... .......... .......... .......... 76% 807K 0s
250K .......... .......... .......... .......... .......... 91% 799K 0s
300K .......... .......... ...... 100% 1.00M=0.9s
2016-11-09 11:03:39 (379 KB/s) - ‘zombodb_jessie_pg95-3.1.0_amd64.deb’ saved [334206/334206]
---> 3f23836115a6
Removing intermediate container efffbf38056f
Step 7 : RUN cd /zombodb && dpkg -i zombodb_jessie_pg95-${ZOMBODB_VER}_amd64.deb
---> Running in 5e468a2087d9
Selecting previously unselected package zombodb.
(Reading database ... 12834 files and directories currently installed.)
Preparing to unpack zombodb_jessie_pg95-3.1.0_amd64.deb ...
Unpacking zombodb (3.1.0) ...
Setting up zombodb (3.1.0) ...
Processing triggers for postgresql-common (177.pgdg80+1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
Removing obsolete dictionary files:
---> 6464cceac6ff
Removing intermediate container 5e468a2087d9
Step 8 : COPY zombodb-entrypoint.sh /
---> 961435037eab
Removing intermediate container 7c63e15fbe8d
Step 9 : RUN chmod +x /zombodb-entrypoint.sh
---> Running in d39e98561ae5
---> 3d5c2f2bd3c9
Removing intermediate container d39e98561ae5
Step 10 : ENTRYPOINT /zombodb-entrypoint.sh
---> Running in 758ae37c879b
---> 439eee040d65
Removing intermediate container 758ae37c879b
Step 11 : CMD postgres
---> Running in 16e9a8ac5010
---> b800f0867a54
Removing intermediate container 16e9a8ac5010
Successfully built b800f0867a54
wagjo@wagjo-dell ~/bla/zombodb/docker $ docker-compose up
Creating docker_zombodb_elastic_1
Creating docker_zombodb_postgres_1
Attaching to docker_zombodb_elastic_1, docker_zombodb_postgres_1
zombodb_postgres_1 | The files belonging to this database system will be owned by user "postgres".
zombodb_postgres_1 | This user must also own the server process.
zombodb_postgres_1 |
zombodb_postgres_1 | The database cluster will be initialized with locale "en_US.utf8".
zombodb_postgres_1 | The default database encoding has accordingly been set to "UTF8".
zombodb_postgres_1 | The default text search configuration will be set to "english".
zombodb_postgres_1 |
zombodb_postgres_1 | Data page checksums are disabled.
zombodb_postgres_1 |
zombodb_postgres_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
zombodb_postgres_1 | creating subdirectories ... ok
zombodb_postgres_1 | selecting default max_connections ... 100
zombodb_postgres_1 | selecting default shared_buffers ... 128MB
zombodb_postgres_1 | selecting dynamic shared memory implementation ... posix
zombodb_elastic_1 | [2016-11-09 11:05:17,141][INFO ][node ] [Carrion] version[1.7.5], pid[1], build[00f95f4/2016-02-02T09:55:30Z]
zombodb_elastic_1 | [2016-11-09 11:05:17,141][INFO ][node ] [Carrion] initializing ...
zombodb_elastic_1 | [2016-11-09 11:05:17,247][INFO ][plugins ] [Carrion] loaded [Zombodb], sites []
zombodb_postgres_1 | creating configuration files ... ok
zombodb_elastic_1 | [2016-11-09 11:05:17,317][INFO ][env ] [Carrion] using [1] data paths, mounts [[/data (/dev/sda3)]], net usable_space [54.8gb], net total_space [219.8gb], types [ext4]
zombodb_postgres_1 | creating template1 database in /var/lib/postgresql/data/base/1 ... ok
zombodb_postgres_1 | initializing pg_authid ... ok
zombodb_postgres_1 | initializing dependencies ... ok
zombodb_postgres_1 | creating system views ... ok
zombodb_postgres_1 | loading system objects' descriptions ... ok
zombodb_postgres_1 | creating collations ... ok
zombodb_postgres_1 | creating conversions ... ok
zombodb_postgres_1 | creating dictionaries ... ok
zombodb_postgres_1 | setting privileges on built-in objects ... ok
zombodb_postgres_1 | creating information schema ... ok
zombodb_postgres_1 | loading PL/pgSQL server-side language ... ok
zombodb_postgres_1 | vacuuming database template1 ... ok
zombodb_postgres_1 | copying template1 to template0 ... ok
zombodb_postgres_1 | copying template1 to postgres ... ok
zombodb_postgres_1 | syncing data to disk ...
zombodb_postgres_1 | WARNING: enabling "trust" authentication for local connections
zombodb_postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
zombodb_postgres_1 | --auth-local and --auth-host, the next time you run initdb.
zombodb_postgres_1 | ok
zombodb_postgres_1 |
zombodb_postgres_1 | Success. You can now start the database server using:
zombodb_postgres_1 |
zombodb_postgres_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
zombodb_postgres_1 |
zombodb_postgres_1 | ****************************************************
zombodb_postgres_1 | WARNING: No password has been set for the database.
zombodb_postgres_1 | This will allow anyone with access to the
zombodb_postgres_1 | Postgres port to access your database. In
zombodb_postgres_1 | Docker's default configuration, this is
zombodb_postgres_1 | effectively any other container on the same
zombodb_postgres_1 | system.
zombodb_postgres_1 |
zombodb_postgres_1 | Use "-e POSTGRES_PASSWORD=password" to set
zombodb_postgres_1 | it in "docker run".
zombodb_postgres_1 | ****************************************************
zombodb_postgres_1 | waiting for server to start....LOG: database system was shut down at 2016-11-09 11:05:18 UTC
zombodb_postgres_1 | LOG: MultiXact member wraparound protections are now enabled
zombodb_postgres_1 | LOG: database system is ready to accept connections
zombodb_postgres_1 | LOG: autovacuum launcher started
zombodb_elastic_1 | [2016-11-09 11:05:19,601][WARN ][script ] [Carrion] deprecated setting [script.disable_dynamic] is set, replace with fine-grained scripting settings (e.g. script.inline, script.indexed, script.file)
zombodb_elastic_1 | [2016-11-09 11:05:19,796][INFO ][node ] [Carrion] initialized
zombodb_elastic_1 | [2016-11-09 11:05:19,796][INFO ][node ] [Carrion] starting ...
zombodb_elastic_1 | [2016-11-09 11:05:19,855][INFO ][transport ] [Carrion] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/172.17.0.3:9300]}
zombodb_elastic_1 | [2016-11-09 11:05:19,868][INFO ][discovery ] [Carrion] elasticsearch/CNupN0AqR9uERWfjmIfl1w
zombodb_postgres_1 | done
zombodb_postgres_1 | server started
zombodb_postgres_1 | ALTER ROLE
zombodb_postgres_1 |
zombodb_postgres_1 |
zombodb_postgres_1 | /zombodb-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
zombodb_postgres_1 |
zombodb_postgres_1 | LOG: received fast shutdown request
zombodb_postgres_1 | waiting for server to shut down...LOG: aborting any active transactions
zombodb_postgres_1 | .LOG: autovacuum launcher shutting down
zombodb_postgres_1 | LOG: shutting down
zombodb_postgres_1 | LOG: database system is shut down
zombodb_postgres_1 | done
zombodb_postgres_1 | server stopped
zombodb_postgres_1 |
zombodb_postgres_1 | PostgreSQL init process complete; ready for start up.
zombodb_postgres_1 |
zombodb_postgres_1 | LOG: database system was shut down at 2016-11-09 11:05:20 UTC
zombodb_postgres_1 | LOG: MultiXact member wraparound protections are now enabled
zombodb_postgres_1 | LOG: autovacuum launcher started
zombodb_postgres_1 | LOG: database system is ready to accept connections
zombodb_elastic_1 | [2016-11-09 11:05:23,636][INFO ][cluster.service ] [Carrion] new_master [Carrion][CNupN0AqR9uERWfjmIfl1w][b7df3b8fb847][inet[/172.17.0.3:9300]], reason: zen-disco-join (elected_as_master)
zombodb_elastic_1 | [2016-11-09 11:05:23,649][INFO ][http ] [Carrion] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/172.17.0.3:9200]}
zombodb_elastic_1 | [2016-11-09 11:05:23,650][INFO ][node ] [Carrion] started
zombodb_elastic_1 | [2016-11-09 11:05:23,667][INFO ][gateway ] [Carrion] recovered [0] indices into cluster_state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment