docker images update

This commit is contained in:
havelight-ee
2023-06-20 19:51:12 +09:00
parent 813f1027b7
commit 3e93fa63e9
19 changed files with 551 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
---
- name: Add docker script
command: curl -fsSL https://get.docker.com -o /root/get-docker.sh
- name: install docker
command: sh /root/get-docker.sh
- name: Create docker configuration directory
file:
path: /etc/docker
state: directory
- name: Configure docker
template:
src: daemon.json.j2
dest: /etc/docker/daemon.json
notify:
- Reload systemd configuration
- Restart docker service