We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3755edd commit 3410903Copy full SHA for 3410903
test/e2e/registry_test.go
@@ -34,8 +34,10 @@ func TestRegistryPushPull(t *testing.T) {
34
buildOptions.Target = "unregistry-dind"
35
},
36
37
- Privileged: true,
38
- ExposedPorts: []string{"2375", "5000"},
+ Privileged: true,
+ // Explicitly specify the host port for the registry because if not specified, 'docker push' from Docker
39
+ // Desktop is unable to reach the automatically mapped one for some reason.
40
+ ExposedPorts: []string{"2375", "50000:5000"},
41
WaitingFor: wait.ForAll(
42
wait.ForListeningPort("2375"),
43
wait.ForListeningPort("5000"),
0 commit comments