)]}'
{"doc/source/user/cookbook_function.rst":[{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":420,"context_line":"---------------------------------------"},{"line_number":421,"context_line":""},{"line_number":422,"context_line":"With the help of docker you would be able to create image type functions in"},{"line_number":423,"context_line":"Qinling. As a prerequiste, you need to have a Docker Hub account. For the"},{"line_number":424,"context_line":"instructions that followreplace ``DOCKER_USER`` with your own docker hub"},{"line_number":425,"context_line":"username. You can use the built-in image by running the commands in ``qinling``"},{"line_number":426,"context_line":"repo directory. Only ``Python 2`` runtime is supported for now, but it is very"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_601c1bc2","line":423,"range":{"start_line":423,"start_character":14,"end_line":423,"end_character":25},"updated":"2018-07-26 11:24:13.000000000","message":"prerequisite","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":420,"context_line":"---------------------------------------"},{"line_number":421,"context_line":""},{"line_number":422,"context_line":"With the help of docker you would be able to create image type functions in"},{"line_number":423,"context_line":"Qinling. As a prerequiste, you need to have a Docker Hub account. For the"},{"line_number":424,"context_line":"instructions that followreplace ``DOCKER_USER`` with your own docker hub"},{"line_number":425,"context_line":"username. You can use the built-in image by running the commands in ``qinling``"},{"line_number":426,"context_line":"repo directory. Only ``Python 2`` runtime is supported for now, but it is very"},{"line_number":427,"context_line":"easy to support other programming languages."}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_a0679352","line":424,"range":{"start_line":423,"start_character":66,"end_line":424,"end_character":31},"updated":"2018-07-26 11:24:13.000000000","message":"In the following instructions, replace ...","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":422,"context_line":"With the help of docker you would be able to create image type functions in"},{"line_number":423,"context_line":"Qinling. As a prerequiste, you need to have a Docker Hub account. For the"},{"line_number":424,"context_line":"instructions that followreplace ``DOCKER_USER`` with your own docker hub"},{"line_number":425,"context_line":"username. You can use the built-in image by running the commands in ``qinling``"},{"line_number":426,"context_line":"repo directory. Only ``Python 2`` runtime is supported for now, but it is very"},{"line_number":427,"context_line":"easy to support other programming languages."},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"#. (Optional) Create a docker image using pre-built ``Python 2`` runtime."},{"line_number":430,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_e0cb4b1a","line":427,"range":{"start_line":425,"start_character":10,"end_line":427,"end_character":44},"updated":"2018-07-26 11:24:13.000000000","message":"Those sentences are not related to this section actually.","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":425,"context_line":"username. You can use the built-in image by running the commands in ``qinling``"},{"line_number":426,"context_line":"repo directory. Only ``Python 2`` runtime is supported for now, but it is very"},{"line_number":427,"context_line":"easy to support other programming languages."},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"#. (Optional) Create a docker image using pre-built ``Python 2`` runtime."},{"line_number":430,"context_line":""},{"line_number":431,"context_line":"   .. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_20eb837b","line":428,"updated":"2018-07-26 11:24:13.000000000","message":"In the above section, the benefits of image type function should be mentioned.","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":426,"context_line":"repo directory. Only ``Python 2`` runtime is supported for now, but it is very"},{"line_number":427,"context_line":"easy to support other programming languages."},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"#. (Optional) Create a docker image using pre-built ``Python 2`` runtime."},{"line_number":430,"context_line":""},{"line_number":431,"context_line":"   .. code-block:: console"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"      $ cd /opt/stack/qinling/runtimes/python2.7"},{"line_number":434,"context_line":"      $ docker build -t DOCKER_USER/python-runtime2.7 ."},{"line_number":435,"context_line":"      $ docker push DOCKER_USER/python-runtime-2.7"},{"line_number":436,"context_line":""},{"line_number":437,"context_line":"   .. end"},{"line_number":438,"context_line":""},{"line_number":439,"context_line":"#. For this tutorial you would be creating a docker image with ``Python 3``"},{"line_number":440,"context_line":"   runtime. You need to include the Python program and Dockerfile."}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_00e8c778","line":437,"range":{"start_line":429,"start_character":0,"end_line":437,"end_character":9},"updated":"2018-07-26 11:24:13.000000000","message":"not related","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":436,"context_line":""},{"line_number":437,"context_line":"   .. end"},{"line_number":438,"context_line":""},{"line_number":439,"context_line":"#. For this tutorial you would be creating a docker image with ``Python 3``"},{"line_number":440,"context_line":"   runtime. You need to include the Python program and Dockerfile."},{"line_number":441,"context_line":""},{"line_number":442,"context_line":"   .. code-block:: console"},{"line_number":443,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_00b6878a","line":440,"range":{"start_line":439,"start_character":3,"end_line":440,"end_character":66},"updated":"2018-07-26 11:24:13.000000000","message":"In this tutorial, we will create a docker image with Python installed. We will create a Python script which will also be included in the image. Finally, we create a Dockerfile to build the image.","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":441,"context_line":""},{"line_number":442,"context_line":"   .. code-block:: console"},{"line_number":443,"context_line":""},{"line_number":444,"context_line":"      $ docker pull DOCKER_USER/python-runtime-3"},{"line_number":445,"context_line":"      $ docker pull python"},{"line_number":446,"context_line":"      $ mkdir ~/qinling_docker_test"},{"line_number":447,"context_line":"      $ cd ~/qinling_docker_test"},{"line_number":448,"context_line":"      $ cat \u003c\u003cEOF \u003e ~/square.py"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_a071d3e1","line":445,"range":{"start_line":444,"start_character":0,"end_line":445,"end_character":26},"updated":"2018-07-26 11:24:13.000000000","message":"we don\u0027t need to run those commands","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":447,"context_line":"      $ cd ~/qinling_docker_test"},{"line_number":448,"context_line":"      $ cat \u003c\u003cEOF \u003e ~/square.py"},{"line_number":449,"context_line":""},{"line_number":450,"context_line":"        def square(x):"},{"line_number":451,"context_line":"            y \u003d x ** 2"},{"line_number":452,"context_line":"            return y"},{"line_number":453,"context_line":""},{"line_number":454,"context_line":"        result \u003d square(3)"},{"line_number":455,"context_line":"        print(\"The square root is:\",result)"},{"line_number":456,"context_line":"        EOF"},{"line_number":457,"context_line":""},{"line_number":458,"context_line":"      $ cat \u003c\u003cEOF \u003e ~/Dockerfile"},{"line_number":459,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_202ce3b0","line":456,"range":{"start_line":450,"start_character":0,"end_line":456,"end_character":11},"updated":"2018-07-26 11:24:13.000000000","message":"It\u0027d be better if we could write a python script that support input params, so we could specify the input when invoking the function.","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":457,"context_line":""},{"line_number":458,"context_line":"      $ cat \u003c\u003cEOF \u003e ~/Dockerfile"},{"line_number":459,"context_line":""},{"line_number":460,"context_line":"        FROM python"},{"line_number":461,"context_line":"        COPY . ~/qinling_docker_test"},{"line_number":462,"context_line":"        CMD [\"python\", \"~/qinling_docker_test/square.py\"]"},{"line_number":463,"context_line":"        EOF"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_807617d5","line":460,"range":{"start_line":460,"start_character":13,"end_line":460,"end_character":19},"updated":"2018-07-26 11:24:13.000000000","message":"we could use the alpine image: python:2.7-alpine","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":464,"context_line":""},{"line_number":465,"context_line":"   .. end"},{"line_number":466,"context_line":""},{"line_number":467,"context_line":"#. You must first run docker login to authenticate, and then run the"},{"line_number":468,"context_line":"   script with a chosen image name. All Docker images are assumed to be"},{"line_number":469,"context_line":"   hosted on Docker Hub."},{"line_number":470,"context_line":""},{"line_number":471,"context_line":"   .. code-block:: console"},{"line_number":472,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_60297b9a","line":469,"range":{"start_line":467,"start_character":52,"end_line":469,"end_character":24},"updated":"2018-07-26 11:24:13.000000000","message":"You could just say: Build the image and push to Docker Hub.","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":471,"context_line":"   .. code-block:: console"},{"line_number":472,"context_line":""},{"line_number":473,"context_line":"      $ docker login"},{"line_number":474,"context_line":"      $ docker build -t DOCKER_USER/python-runtime-3 ."},{"line_number":475,"context_line":"      $ docker run DOCKER_USER/python-runtime-3 python ~/qinling_docker_test/square.py"},{"line_number":476,"context_line":"      $ docker push DOCKER_USER/python-runtime-3"},{"line_number":477,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_a01f936f","line":474,"range":{"start_line":474,"start_character":36,"end_line":474,"end_character":52},"updated":"2018-07-26 11:24:13.000000000","message":"I\u0027d suggest we rename this to qinling-test","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":472,"context_line":""},{"line_number":473,"context_line":"      $ docker login"},{"line_number":474,"context_line":"      $ docker build -t DOCKER_USER/python-runtime-3 ."},{"line_number":475,"context_line":"      $ docker run DOCKER_USER/python-runtime-3 python ~/qinling_docker_test/square.py"},{"line_number":476,"context_line":"      $ docker push DOCKER_USER/python-runtime-3"},{"line_number":477,"context_line":""},{"line_number":478,"context_line":"   .. end"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_8024d7c4","line":475,"range":{"start_line":475,"start_character":8,"end_line":475,"end_character":86},"updated":"2018-07-26 11:24:13.000000000","message":"This command is just for testing","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":473,"context_line":"      $ docker login"},{"line_number":474,"context_line":"      $ docker build -t DOCKER_USER/python-runtime-3 ."},{"line_number":475,"context_line":"      $ docker run DOCKER_USER/python-runtime-3 python ~/qinling_docker_test/square.py"},{"line_number":476,"context_line":"      $ docker push DOCKER_USER/python-runtime-3"},{"line_number":477,"context_line":""},{"line_number":478,"context_line":"   .. end"},{"line_number":479,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_2015c34c","line":476,"range":{"start_line":476,"start_character":32,"end_line":476,"end_character":48},"updated":"2018-07-26 11:24:13.000000000","message":"I\u0027d suggest we rename this to qinling-test","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":477,"context_line":""},{"line_number":478,"context_line":"   .. end"},{"line_number":479,"context_line":""},{"line_number":480,"context_line":"#. Create an image type function by providing the docker image details and"},{"line_number":481,"context_line":"   function ID."},{"line_number":482,"context_line":""},{"line_number":483,"context_line":"   .. code-block:: console"},{"line_number":484,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_00120762","line":481,"range":{"start_line":480,"start_character":3,"end_line":481,"end_character":14},"updated":"2018-07-26 11:24:13.000000000","message":"Create an image type function by providing the docker image name.","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":482,"context_line":""},{"line_number":483,"context_line":"   .. code-block:: console"},{"line_number":484,"context_line":""},{"line_number":485,"context_line":"      $ openstack function create --name docker_test --image DOCKER_USER/python-runtime-3:latest"},{"line_number":486,"context_line":""},{"line_number":487,"context_line":"        +-------------+-------------------------------------------------------------------------+"},{"line_number":488,"context_line":"        | Field       | Value                                                                   |"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_e303550b","line":485,"range":{"start_line":485,"start_character":73,"end_line":485,"end_character":89},"updated":"2018-07-26 11:24:13.000000000","message":"I\u0027d suggest we rename this to qinling-test","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"3625f480fa609bbf2b9ead0c7ce74b011a5dd16d","unresolved":false,"context_lines":[{"line_number":501,"context_line":"        | memory_size | 33554432                                                                |"},{"line_number":502,"context_line":"        +-------------+-------------------------------------------------------------------------+"},{"line_number":503,"context_line":""},{"line_number":504,"context_line":"     $ function_id\u003d53680ff0-f27f-408c-a1b5-e2ea8912de54"},{"line_number":505,"context_line":""},{"line_number":506,"context_line":"  .. end"},{"line_number":507,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_23faad10","line":504,"range":{"start_line":504,"start_character":0,"end_line":504,"end_character":5},"updated":"2018-07-26 11:24:13.000000000","message":"Incorrect indentation.","commit_id":"0bea54ec5aac68525b500431687edb15bec4a41b"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"fae89e0647a7565697dd2462b540e0cdbf5f7d0c","unresolved":false,"context_lines":[{"line_number":424,"context_line":"following instructions replace ``DOCKER_USER`` with your own docker hub"},{"line_number":425,"context_line":"username."},{"line_number":426,"context_line":""},{"line_number":427,"context_line":"#. (Optional) Create a docker image using pre-built ``Python 2`` runtime. You"},{"line_number":428,"context_line":"   can use the built-in image by running the commands in ``qinling``"},{"line_number":429,"context_line":"   repo directory. Only ``Python 2`` runtime is supported for now, but it is very"},{"line_number":430,"context_line":"   easy to support other programming languages."},{"line_number":431,"context_line":""},{"line_number":432,"context_line":"   .. code-block:: console"},{"line_number":433,"context_line":""},{"line_number":434,"context_line":"      $ cd /opt/stack/qinling/runtimes/python2.7"},{"line_number":435,"context_line":"      $ docker build -t DOCKER_USER/python-runtime2.7 ."},{"line_number":436,"context_line":"      $ docker push DOCKER_USER/python-runtime-2.7"},{"line_number":437,"context_line":""},{"line_number":438,"context_line":"   .. end"},{"line_number":439,"context_line":""},{"line_number":440,"context_line":"#. In this tutorial we would be create docker image with latest Python3"},{"line_number":441,"context_line":"   installed. We will create a python script which would be included in the image."}],"source_content_type":"text/x-rst","patch_set":4,"id":"3f79a3b5_a416b254","line":438,"range":{"start_line":427,"start_character":0,"end_line":438,"end_character":9},"updated":"2018-08-10 03:59:16.000000000","message":"This step is not needed actually.","commit_id":"5cd7cce44139f2ff0231d3851280d372e0ffd8cb"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"fae89e0647a7565697dd2462b540e0cdbf5f7d0c","unresolved":false,"context_lines":[{"line_number":449,"context_line":""},{"line_number":450,"context_line":"        import sys"},{"line_number":451,"context_line":"        def main():"},{"line_number":452,"context_line":"          print (\u0027Hello from\u0027, sys.argv[1])"},{"line_number":453,"context_line":""},{"line_number":454,"context_line":"        if __name__ \u003d\u003d \u0027__main__\u0027:"},{"line_number":455,"context_line":"          main()"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3f79a3b5_87a8588c","line":452,"range":{"start_line":452,"start_character":8,"end_line":452,"end_character":10},"updated":"2018-08-10 03:59:16.000000000","message":"should be 4 spaces","commit_id":"5cd7cce44139f2ff0231d3851280d372e0ffd8cb"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"fae89e0647a7565697dd2462b540e0cdbf5f7d0c","unresolved":false,"context_lines":[{"line_number":453,"context_line":""},{"line_number":454,"context_line":"        if __name__ \u003d\u003d \u0027__main__\u0027:"},{"line_number":455,"context_line":"          main()"},{"line_number":456,"context_line":""},{"line_number":457,"context_line":"      $ cat \u003c\u003cEOF \u003e ~/Dockerfile"},{"line_number":458,"context_line":""},{"line_number":459,"context_line":"        FROM python:3.7.0-alpine3.7"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3f79a3b5_440f9e36","line":456,"updated":"2018-08-10 03:59:16.000000000","message":"The ending EOF is missing","commit_id":"5cd7cce44139f2ff0231d3851280d372e0ffd8cb"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"fae89e0647a7565697dd2462b540e0cdbf5f7d0c","unresolved":false,"context_lines":[{"line_number":454,"context_line":"        if __name__ \u003d\u003d \u0027__main__\u0027:"},{"line_number":455,"context_line":"          main()"},{"line_number":456,"context_line":""},{"line_number":457,"context_line":"      $ cat \u003c\u003cEOF \u003e ~/Dockerfile"},{"line_number":458,"context_line":""},{"line_number":459,"context_line":"        FROM python:3.7.0-alpine3.7"},{"line_number":460,"context_line":"        COPY . /qinling_test"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3f79a3b5_c7a2d0ae","line":457,"range":{"start_line":457,"start_character":20,"end_line":457,"end_character":32},"updated":"2018-08-10 03:59:16.000000000","message":"I think the Dockerfile should live inside ~/qinling_test folder, otherwise the docker build won\u0027t work.","commit_id":"5cd7cce44139f2ff0231d3851280d372e0ffd8cb"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"fae89e0647a7565697dd2462b540e0cdbf5f7d0c","unresolved":false,"context_lines":[{"line_number":461,"context_line":"        WORKDIR /qinling_test"},{"line_number":462,"context_line":"        ENTRYPOINT [ \"python\", \"./hello.py\" ]"},{"line_number":463,"context_line":"        CMD [\"Qinling!\"]"},{"line_number":464,"context_line":""},{"line_number":465,"context_line":"   .. end"},{"line_number":466,"context_line":""},{"line_number":467,"context_line":"#. You must first run docker login to authenticate, build the image and push"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3f79a3b5_640c1a41","line":464,"updated":"2018-08-10 03:59:16.000000000","message":"The ending EOF is missing","commit_id":"5cd7cce44139f2ff0231d3851280d372e0ffd8cb"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"fae89e0647a7565697dd2462b540e0cdbf5f7d0c","unresolved":false,"context_lines":[{"line_number":465,"context_line":"   .. end"},{"line_number":466,"context_line":""},{"line_number":467,"context_line":"#. You must first run docker login to authenticate, build the image and push"},{"line_number":468,"context_line":"   then to Docker Hub."},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"   .. code-block:: console"},{"line_number":471,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3f79a3b5_87b3780a","line":468,"range":{"start_line":468,"start_character":3,"end_line":468,"end_character":7},"updated":"2018-08-10 03:59:16.000000000","message":"could be removed.","commit_id":"5cd7cce44139f2ff0231d3851280d372e0ffd8cb"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"fae89e0647a7565697dd2462b540e0cdbf5f7d0c","unresolved":false,"context_lines":[{"line_number":479,"context_line":""},{"line_number":480,"context_line":"   .. code-block:: console"},{"line_number":481,"context_line":""},{"line_number":482,"context_line":"      $ openstack function create --name docker_test --image qinling_test"},{"line_number":483,"context_line":""},{"line_number":484,"context_line":"        +-------------+----------------------------------------------------------+"},{"line_number":485,"context_line":"        | Field       | Value                                                    |"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3f79a3b5_07ee88ec","line":482,"range":{"start_line":482,"start_character":61,"end_line":482,"end_character":73},"updated":"2018-08-10 03:59:16.000000000","message":"should be \u0027DOCKER_USER/qinlng_test\u0027","commit_id":"5cd7cce44139f2ff0231d3851280d372e0ffd8cb"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"fae89e0647a7565697dd2462b540e0cdbf5f7d0c","unresolved":false,"context_lines":[{"line_number":526,"context_line":""},{"line_number":527,"context_line":"   .. end"},{"line_number":528,"context_line":""},{"line_number":529,"context_line":"   In the result, you see the output of image type function."}],"source_content_type":"text/x-rst","patch_set":4,"id":"3f79a3b5_e7c26c59","line":529,"range":{"start_line":529,"start_character":22,"end_line":529,"end_character":25},"updated":"2018-08-10 03:59:16.000000000","message":"s/see/can see","commit_id":"5cd7cce44139f2ff0231d3851280d372e0ffd8cb"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"65a21906c77419bd8b4dca7728560e8e792e369b","unresolved":false,"context_lines":[{"line_number":430,"context_line":""},{"line_number":431,"context_line":"   .. code-block:: console"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"      $ mkdir ~/qinling_test"},{"line_number":434,"context_line":"      $ cd ~/qinling_test"},{"line_number":435,"context_line":"      $ cat \u003c\u003cEOF \u003e ~/qinling_test/hello.py"},{"line_number":436,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f79a3b5_6b42a240","line":433,"range":{"start_line":433,"start_character":6,"end_line":433,"end_character":8},"updated":"2018-08-10 11:26:41.000000000","message":"Could you please remove all the \u0027$ \u0027? So the readers can just copy\u0026paste your command for a trial.","commit_id":"c7440d9f9aae23dccb7a6ad8e0fb709f681af6a3"},{"author":{"_account_id":6732,"name":"Lingxian Kong","email":"anlin.kong@gmail.com","username":"kong"},"change_message_id":"65a21906c77419bd8b4dca7728560e8e792e369b","unresolved":false,"context_lines":[{"line_number":479,"context_line":"        | name        | docker_test                                              |"},{"line_number":480,"context_line":"        | description | None                                                     |"},{"line_number":481,"context_line":"        | count       | 0                                                        |"},{"line_number":482,"context_line":"        | code        | {u\u0027source\u0027: u\u0027image\u0027, u\u0027image\u0027: u\u0027qinling_test\u0027} |"},{"line_number":483,"context_line":"        | runtime_id  | None                                                     |"},{"line_number":484,"context_line":"        | entry       | None                                                     |"},{"line_number":485,"context_line":"        | project_id  | 6ae7142bff0542d8a8f3859ffa184236                         |"}],"source_content_type":"text/x-rst","patch_set":6,"id":"3f79a3b5_4b456642","line":482,"range":{"start_line":482,"start_character":58,"end_line":482,"end_character":70},"updated":"2018-08-10 11:26:41.000000000","message":"you must forget something here :-)","commit_id":"c7440d9f9aae23dccb7a6ad8e0fb709f681af6a3"}]}
