Expose and use ports consistently
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
ed2236aa24
commit
a846e13c78
3 changed files with 13 additions and 2 deletions
|
@ -189,6 +189,10 @@ func (s *IntegrationTestSuite) tailscaleContainer(
|
|||
Cmd: []string{
|
||||
"tailscaled", "--tun=tsdev",
|
||||
},
|
||||
ExposedPorts: []string{"8080/tcp"},
|
||||
PortBindings: map[docker.Port][]docker.PortBinding{
|
||||
"8080/tcp": {{HostPort: "8080"}},
|
||||
},
|
||||
}
|
||||
|
||||
err := s.pool.RemoveContainerByName(hostname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue