You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/09/21 18:15:00 UTC

[GitHub] rabbah commented on a change in pull request #2793: Mount docker/runc binaries from the host machine.

rabbah commented on a change in pull request #2793: Mount docker/runc binaries from the host machine.
URL: https://github.com/apache/incubator-openwhisk/pull/2793#discussion_r140319670
 
 

 ##########
 File path: ansible/roles/invoker/tasks/deploy.yml
 ##########
 @@ -95,6 +95,30 @@
   with_items: "{{ invokerInfo }}"
   when: not invoker.allowMultipleInstances and item.Names[0] != "/invoker{{ groups['invokers'].index(inventory_hostname) }}"
 
+- name: "determine 'docker' binary location"
+  shell: which docker
+  register: dockerBinary
+
+- name: "determine 'docker-runc' binary location"
+  shell: which docker-runc
+  register: runcBinary
+  failed_when: false
+
+- set_fact:
+    runcMount: "-v {{ runcBinary.stdout }}:/usr/bin/docker-runc"
+  when: runcBinary.rc == 0
+
+- name: copy runc script to remote
+  copy:
+    src: "files/docker-runc"
+    dest: "{{ nginx.confdir }}"
 
 Review comment:
   nginx?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services