1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00
Files
docs/execdriver/lxc/lxc_init_linux.go

12 lines
143 B
Go

// +build amd64
package lxc
import (
"syscall"
)
func setHostname(hostname string) error {
return syscall.Sethostname([]byte(hostname))
}