mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-17 14:29:57 +02:00
integration-test: use TUN devices, enable IPv6 addresses on local interfaces in containers
This commit is contained in:
@@ -164,9 +164,7 @@ func (s *IntegrationTestSuite) tailscaleContainer(
|
||||
Name: hostname,
|
||||
Networks: []*dockertest.Network{&s.network},
|
||||
Cmd: []string{
|
||||
"tailscaled",
|
||||
"--tun=userspace-networking",
|
||||
"--socks5-server=localhost:1055",
|
||||
"tailscaled", "--tun=tsdev",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -174,6 +172,8 @@ func (s *IntegrationTestSuite) tailscaleContainer(
|
||||
tailscaleBuildOptions,
|
||||
tailscaleOptions,
|
||||
DockerRestartPolicy,
|
||||
DockerAllowLocalIPv6,
|
||||
DockerAllowNetworkAdministration,
|
||||
)
|
||||
if err != nil {
|
||||
log.Fatalf("Could not start resource: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user