mirror of https://github.com/cirruslabs/tart.git
tests: fix RegistryRunner's "-p" specification passed to "docker"
This commit is contained in:
parent
094f850046
commit
73df8b5333
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue