Add containerd on Flatcar Container Linux (#7681)

This commit is contained in:
cola-zero
2021-07-21 22:28:07 +09:00
committed by GitHub
parent 0ef7af76bc
commit f21a707e99
2 changed files with 4 additions and 5 deletions

View File

@@ -30,7 +30,7 @@
- container_manager == "docker"
- name: install | Copy socat wrapper for Container Linux with Containerd
command: "{{ containerd_bin_dir }}/ctr run --rm --mount type=bind,src={{ bin_dir }},dst=/opt/bin,options=rbind:rw {{ install_socat_image_repo }}:{{ install_socat_image_tag }}"
command: "{{ containerd_bin_dir }}/ctr --namespace k8s.io run --rm --mount type=bind,src={{ bin_dir }},dst=/opt/bin,options=rbind:rw {{ install_socat_image_repo }}:{{ install_socat_image_tag }} copysocat"
args:
creates: "{{ bin_dir }}/socat"
when: