Debian Codegraph @

tests/image_prep/roles/container_commit/tasks/main.yml

raw
1 - name: Commit container
2 command: >
3 docker commit
4 --change 'EXPOSE 22'
5 --change 'CMD ["/usr/sbin/sshd", "-D", "-e"]'
6 {{ inventory_hostname }}
7 {{ container_image_name }}:{{ container_image_tag }}
8 changed_when: true
9 delegate_to: localhost