From 8a96b4acbc97d5c34ff0160ab1a1b585fdd5d156 Mon Sep 17 00:00:00 2001 From: umohnani8 Date: Fri, 23 Mar 2018 16:38:55 -0400 Subject: Add secrets patch to podman Adds support for mounting secrets especially on RHEL where the container can use the host subsription to run yum Signed-off-by: umohnani8 Closes: #544 Approved by: rhatdan --- cmd/podman/create.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'cmd') diff --git a/cmd/podman/create.go b/cmd/podman/create.go index c1fb15bcf..520664c8e 100644 --- a/cmd/podman/create.go +++ b/cmd/podman/create.go @@ -3,6 +3,12 @@ package main import ( "encoding/json" "fmt" + "net" + "os" + "strconv" + "strings" + "syscall" + "github.com/docker/docker/api/types/container" "github.com/docker/docker/pkg/signal" "github.com/docker/go-connections/nat" @@ -15,11 +21,6 @@ import ( "github.com/projectatomic/libpod/pkg/util" "github.com/sirupsen/logrus" "github.com/urfave/cli" - "net" - "os" - "strconv" - "strings" - "syscall" ) type mountType string -- cgit v1.2.3-54-g00ecf