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
This commit is contained in:
umohnani8
2018-03-23 16:38:55 -04:00
committed by Atomic Bot
parent d0c9835631
commit 8a96b4acbc
4 changed files with 175 additions and 5 deletions

View File

@@ -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