mirror of
https://github.com/containers/podman.git
synced 2025-12-11 09:18:34 +08:00
Add cap-add and cap-drop to build man page
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Closes: #968 Approved by: mheon
This commit is contained in:
committed by
Atomic Bot
parent
82a948c04e
commit
89af35175d
25
vendor/github.com/projectatomic/buildah/bind/mount_unsupported.go
generated
vendored
Normal file
25
vendor/github.com/projectatomic/buildah/bind/mount_unsupported.go
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
// +build !linux
|
||||
|
||||
package bind
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"sort"
|
||||
"strings"
|
||||
"syscall"
|
||||
|
||||
"github.com/containers/storage/pkg/idtools"
|
||||
"github.com/containers/storage/pkg/mount"
|
||||
"github.com/opencontainers/runtime-spec/specs-go"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/sirupsen/logrus"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
// SetupIntermediateMountNamespace returns a no-op unmountAll() and no error.
|
||||
func SetupIntermediateMountNamespace(spec *specs.Spec, bundlePath string) (unmountAll func() error, err error) {
|
||||
stripNoBuildahBindOption(spec)
|
||||
return func() error { return nil }, nil
|
||||
}
|
||||
Reference in New Issue
Block a user