Files
docker-cli/components/engine/execdriver/lxc/lxc_init_linux.go
Tianon Gravi e8f6d5eb59 Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
Upstream-commit: 065dd231dd7d7858df982a8decfade9df936cf63
Component: engine
2014-01-31 03:16:42 -07:00

12 lines
143 B
Go

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