
└─5492 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock -metrics-interval=0 -start-timeout 2m -state-dir /var/run/docker/libcontainerd/containerd -shim docker-containerd-shim -runtime docker-runcĭec 08 19:13:08 archthinkpad dockerd: time="T19:13:08.126834430-05:00" level=warning msg="Your kernel does not support cgroup rt period"ĭec 08 19:13:08 archthinkpad dockerd: time="T19:13:08.126850093-05:00" level=warning msg="Your kernel does not support cgroup rt runtime"ĭec 08 19:13:08 archthinkpad dockerd: time="T19:13:08.127216425-05:00" level=info msg="Loading containers: start."ĭec 08 19:13:08 archthinkpad dockerd: time="T19:13:08.776371797-05:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. ├─5486 /usr/bin/dockerd -g /home/brian/docker -H fd:// Loaded: loaded (/usr/lib/systemd/system/rvice enabled vendor preset: disabled)Īctive: active (running) since Fri 19:13:09 EST 24h ago rvice - Docker Application Container Engine.

Here we can see that DEBUG is True, which was forced when we set FLASK_DEBUG=1.įor clarity, let's review the directory structure of our project: OK, so far so good! I think that FLASK_DEBUG may give us some additional information in the terminal. Just to be sure this is working correctly, let's try another config setting, ProductionConfig: Let's add an app.py file inside the project folder:ġ27.0.0.1 - "GET /users/ping HTTP/1.1" 200.

It can be either set to an import path or to a filename of a Python module that contains a Flask application. This is achieved by exporting the FLASK_APP environment variable. Successfully installed Jinja2-2.10 MarkupSafe-1.0 Werkzeug-0.13 click-6.7 flask-0.12.2 itsdangerous-0.24Īt this point we are ready to create our flask app.įor the flask script to work, an application needs to be discovered. Installing collected packages: itsdangerous, Werkzeug, click, MarkupSafe, Jinja2, flask Using cached 圓-none-any.whlĬollecting Jinja2>=2.4 (from flask=0.12.2)

Using cached 圓-none-any.whlĬollecting click>=2.0 (from flask=0.12.2)
