Created
December 26, 2016 06:19
-
-
Save kazuhisa/e25696984c32d8b0b50bf1001c133e3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rh1039:composetest kazuhisa$ docker-compose up | |
Creating network "composetest_default" with the default driver | |
Building web | |
Step 1 : FROM python:3.4-alpine | |
3.4-alpine: Pulling from library/python | |
3690ec4760f9: Already exists | |
8cf4eb2be1b3: Pull complete | |
a196ebb46a8b: Pull complete | |
c72b1f1aa3a4: Pull complete | |
Digest: sha256:4a422a07aa1b6393c1ab2cf23ff79a5c16356016350019ebf8f1d31093329bab | |
Status: Downloaded newer image for python:3.4-alpine | |
---> d3ad27c04b5b | |
Step 2 : ADD . /code | |
---> debf8a73d259 | |
Removing intermediate container b5ef1fc5a077 | |
Step 3 : WORKDIR /code | |
---> Running in eea275bd4a83 | |
---> 757bc2006f90 | |
Removing intermediate container eea275bd4a83 | |
Step 4 : RUN pip install -r requirements.txt | |
---> Running in ad4a0f782533 | |
Collecting flask (from -r requirements.txt (line 1)) | |
Downloading Flask-0.12-py2.py3-none-any.whl (82kB) | |
Collecting redis (from -r requirements.txt (line 2)) | |
Downloading redis-2.10.5-py2.py3-none-any.whl (60kB) | |
Collecting click>=2.0 (from flask->-r requirements.txt (line 1)) | |
Downloading click-6.6-py2.py3-none-any.whl (71kB) | |
Collecting Werkzeug>=0.7 (from flask->-r requirements.txt (line 1)) | |
Downloading Werkzeug-0.11.11-py2.py3-none-any.whl (306kB) | |
Collecting Jinja2>=2.4 (from flask->-r requirements.txt (line 1)) | |
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB) | |
Collecting itsdangerous>=0.21 (from flask->-r requirements.txt (line 1)) | |
Downloading itsdangerous-0.24.tar.gz (46kB) | |
Collecting MarkupSafe (from Jinja2>=2.4->flask->-r requirements.txt (line 1)) | |
Downloading MarkupSafe-0.23.tar.gz | |
Installing collected packages: click, Werkzeug, MarkupSafe, Jinja2, itsdangerous, flask, redis | |
Running setup.py install for MarkupSafe: started | |
Running setup.py install for MarkupSafe: finished with status 'done' | |
Running setup.py install for itsdangerous: started | |
Running setup.py install for itsdangerous: finished with status 'done' | |
Successfully installed Jinja2-2.8 MarkupSafe-0.23 Werkzeug-0.11.11 click-6.6 flask-0.12 itsdangerous-0.24 redis-2.10.5 | |
---> ad03ef832459 | |
Removing intermediate container ad4a0f782533 | |
Step 5 : CMD python app.py | |
---> Running in 49797457267d | |
---> 3d1e05d491bc | |
Removing intermediate container 49797457267d | |
Successfully built 3d1e05d491bc | |
WARNING: Image for service web was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`. | |
Pulling redis (redis:alpine)... | |
alpine: Pulling from library/redis | |
3690ec4760f9: Already exists | |
5e231f7bdf9d: Pull complete | |
5a74fb2950f8: Pull complete | |
0b8e4215fba2: Pull complete | |
c6186b0ef323: Pull complete | |
25b8fb88c84f: Pull complete | |
Digest: sha256:b4c47064c182d77aed359ceab16ebfec9b749a6b18af3988731181252f0f1b44 | |
Status: Downloaded newer image for redis:alpine | |
Creating composetest_web_1 | |
Creating composetest_redis_1 | |
Attaching to composetest_web_1, composetest_redis_1 | |
redis_1 | 1:C 26 Dec 06:17:36.213 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf | |
redis_1 | _._ | |
redis_1 | _.-``__ ''-._ | |
redis_1 | _.-`` `. `_. ''-._ Redis 3.2.6 (00000000/0) 64 bit | |
redis_1 | .-`` .-```. ```\/ _.,_ ''-._ | |
redis_1 | ( ' , .-` | `, ) Running in standalone mode | |
redis_1 | |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | |
redis_1 | | `-._ `._ / _.-' | PID: 1 | |
redis_1 | `-._ `-._ `-./ _.-' _.-' | |
redis_1 | |`-._`-._ `-.__.-' _.-'_.-'| | |
redis_1 | | `-._`-._ _.-'_.-' | http://redis.io | |
redis_1 | `-._ `-._`-.__.-'_.-' _.-' | |
redis_1 | |`-._`-._ `-.__.-' _.-'_.-'| | |
redis_1 | | `-._`-._ _.-'_.-' | | |
redis_1 | `-._ `-._`-.__.-'_.-' _.-' | |
redis_1 | `-._ `-.__.-' _.-' | |
redis_1 | `-._ _.-' | |
redis_1 | `-.__.-' | |
redis_1 | | |
redis_1 | 1:M 26 Dec 06:17:36.217 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. | |
redis_1 | 1:M 26 Dec 06:17:36.218 # Server started, Redis version 3.2.6 | |
redis_1 | 1:M 26 Dec 06:17:36.218 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. | |
redis_1 | 1:M 26 Dec 06:17:36.218 * The server is now ready to accept connections on port 6379 | |
web_1 | * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit) | |
web_1 | * Restarting with stat | |
web_1 | * Debugger is active! | |
web_1 | * Debugger pin code: 339-330-141 | |
web_1 | 172.18.0.1 - - [26/Dec/2016 06:17:59] "GET / HTTP/1.1" 200 - | |
web_1 | 172.18.0.1 - - [26/Dec/2016 06:17:59] "GET /favicon.ico HTTP/1.1" 404 - | |
web_1 | 172.18.0.1 - - [26/Dec/2016 06:18:02] "GET / HTTP/1.1" 200 - | |
web_1 | 172.18.0.1 - - [26/Dec/2016 06:18:02] "GET / HTTP/1.1" 200 - | |
web_1 | 172.18.0.1 - - [26/Dec/2016 06:18:03] "GET / HTTP/1.1" 200 - | |
web_1 | 172.18.0.1 - - [26/Dec/2016 06:18:04] "GET / HTTP/1.1" 200 - | |
web_1 | 172.18.0.1 - - [26/Dec/2016 06:18:04] "GET / HTTP/1.1" 200 - | |
web_1 | 172.18.0.1 - - [26/Dec/2016 06:18:05] "GET / HTTP/1.1" 200 - | |
web_1 | 172.18.0.1 - - [26/Dec/2016 06:18:05] "GET / HTTP/1.1" 200 - | |
web_1 | 172.18.0.1 - - [26/Dec/2016 06:18:05] "GET / HTTP/1.1" 200 - | |
web_1 | 172.18.0.1 - - [26/Dec/2016 06:18:06] "GET / HTTP/1.1" 200 - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment