From 73df8b5333e0bd61e4ccbcb939c2ff51551bec5a Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Thu, 26 Mar 2026 00:09:35 +0100 Subject: [PATCH] tests: fix RegistryRunner's "-p" specification passed to "docker" --- Tests/TartTests/Util/RegistryRunner.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/TartTests/Util/RegistryRunner.swift b/Tests/TartTests/Util/RegistryRunner.swift index d22db41..5a9f827 100644 --- a/Tests/TartTests/Util/RegistryRunner.swift +++ b/Tests/TartTests/Util/RegistryRunner.swift @@ -31,7 +31,7 @@ class RegistryRunner { init() async throws { // Start container - let container = try Self.dockerCmd("run", "-d", "--rm", "-p", "127.0.0.1:0:5000", "registry:2") + let container = try Self.dockerCmd("run", "-d", "--rm", "-p", "127.0.0.1::5000", "registry:2") .trimmingCharacters(in: CharacterSet.newlines) containerID = container