Bind to 127.0.0.1

This commit is contained in:
Donal McBreen
2024-09-18 08:30:01 +01:00
parent 6aa707e233
commit 9fd4001a88
3 changed files with 4 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ class CliRegistryTest < CliTestCase
test "setup local registry" do
run_command("setup", fixture: :with_local_registry).tap do |output|
assert_match /docker start kamal-docker-registry || docker run --detach -p 5000:5000 --name kamal-docker-registry registry:2 as .*@localhost/, output
assert_match /docker start kamal-docker-registry || docker run --detach -p 127.0.0.1:5000:5000 --name kamal-docker-registry registry:2 as .*@localhost/, output
end
end