From f1121bbbe4b6222a2de4dbdb307e21470698ae40 Mon Sep 17 00:00:00 2001 From: Greg Szabo Date: Wed, 13 Mar 2024 20:16:00 -0400 Subject: [PATCH] option to pull from insecure (custom setup) registry --- tf/user-data.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tf/user-data.txt b/tf/user-data.txt index 3045c99..f2bcd5c 100644 --- a/tf/user-data.txt +++ b/tf/user-data.txt @@ -99,6 +99,12 @@ write_files: ExecStart=/usr/bin/prometheus-node-exporter [Install] WantedBy=multi-user.target +write_files: + - path: /etc/docker/daemon.json + content: | + { + "insecure-registries" : ["0.0.0.0/0"] + } runcmd: - ufw allow in from 10.0.0.0/8 - ufw allow in from 172.16.0.0/12