From 8c7e939c257a801702cca4bd8279f09f1d0e53f9 Mon Sep 17 00:00:00 2001 From: Anton Belodedenko <2033996+ab77@users.noreply.github.com> Date: Mon, 19 Aug 2024 09:27:52 -0700 Subject: [PATCH] Docker Compose through SSH failing and referring to docker.example.com --- .github/workflows/tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1ffea74..d91cf85 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -798,6 +798,13 @@ jobs: && rm -f "\${tmphosts}" \ && getent hosts api.${{ matrix.subdomain }}.${{ matrix.dns_tld }} | grep 127.0.1.1 + service ssh restart + + # https://forums.docker.com/t/docker-compose-through-ssh-failing-and-referring-to-docker-example-com/115165/18 + - path: /etc/ssh/sshd_config.d/00-cloud-init + content: | + MaxStartups 100:0:100 + # cloud-init runs as root # (e.g.) https://cloudinit.readthedocs.io/en/latest/reference/merging.html#example-cloud-config runcmd: