diff options
author | umohnani8 <umohnani@redhat.com> | 2018-03-23 16:38:55 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-03-29 14:15:27 +0000 |
commit | 8a96b4acbc97d5c34ff0160ab1a1b585fdd5d156 (patch) | |
tree | 822c9d92ee38b8a85f7f41cc85edc6c388be00f2 /cmd/podman/create.go | |
parent | d0c983563129c804d2c974b05cc7d3604957f51a (diff) | |
download | podman-8a96b4acbc97d5c34ff0160ab1a1b585fdd5d156.tar.gz podman-8a96b4acbc97d5c34ff0160ab1a1b585fdd5d156.tar.bz2 podman-8a96b4acbc97d5c34ff0160ab1a1b585fdd5d156.zip |
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 <umohnani@redhat.com>
Closes: #544
Approved by: rhatdan
Diffstat (limited to 'cmd/podman/create.go')
-rw-r--r-- | cmd/podman/create.go | 11 |
1 files changed, 6 insertions, 5 deletions
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 |