We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81bc42b commit 9f5d2d4Copy full SHA for 9f5d2d4
1 file changed
daemon/pod/container.go
@@ -602,6 +602,9 @@ func (c *Container) ociSpec(cjson *dockertypes.ContainerJSON) *specs.Spec {
602
ocispec.Process.Env = c.ociEnv()
603
ocispec.Process.Cwd = c.spec.Workdir
604
ocispec.Process.Terminal = c.spec.Tty
605
+
606
+ ocispec.Hostname = c.p.globalSpec.Hostname
607
608
/*
609
* ocispec used the user's UID and GID instead of user name and group name,
610
* thus it needed to convert the user name and group name to UID and GID in
0 commit comments