fix docker using private IP ranges

This commit is contained in:
Pim Kunis 2023-01-18 23:50:54 +01:00
parent 27582e37f6
commit c6f47e454d
4 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,7 @@
{
"default-address-pools":
[
{"base":"10.204.0.0/16","size":24}
]
}

View file

@ -29,6 +29,10 @@
name:
- docker
- docker-compose
- name: Copy daemon.json
copy:
src: "{{ role_path }}/files/daemon.json"
dest: /etc/docker/daemon.json
- name: Start Docker
systemd:
name: docker