You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/hostinfo
Tom Proctor 5f22f72636
hostinfo,build_docker.sh,tailcfg: more reliably detect being in a container (#13826)
Our existing container-detection tricks did not work on Kubernetes,
where Docker is no longer used as a container runtime. Extends the
existing go build tags for containers to the other container packages
and uses that to reliably detect builds that were created by Tailscale
for use in a container. Unfortunately this doesn't necessarily improve
detection for users' custom builds, but that's a separate issue.

Updates #13825

Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
1 week ago
..
hostinfo.go hostinfo,build_docker.sh,tailcfg: more reliably detect being in a container (#13826) 1 week ago
hostinfo_container_linux_test.go hostinfo,build_docker.sh,tailcfg: more reliably detect being in a container (#13826) 1 week ago
hostinfo_darwin.go all: update copyright and license headers 2 years ago
hostinfo_freebsd.go all: update copyright and license headers 2 years ago
hostinfo_linux.go hostinfo: set Hostinfo.PackageType for mkctr container builds 3 months ago
hostinfo_linux_test.go hostinfo,build_docker.sh,tailcfg: more reliably detect being in a container (#13826) 1 week ago
hostinfo_test.go all: update copyright and license headers 2 years ago
hostinfo_uname.go all: update copyright and license headers 2 years ago
hostinfo_windows.go hostinfo: update Windows hostinfo to include MSIDist registry value 4 months ago
packagetype_container.go hostinfo: set Hostinfo.PackageType for mkctr container builds 3 months ago
wol.go hostinfo, ipnlocal: flesh out Wake-on-LAN support, send MACs, add c2n sender 1 year ago