Affected by GO-2023-1544
and 2 other vulnerabilities
GO-2023-1544: Podman has Files or Directories Accessible to External Parties in github.com/containers/libpod
GO-2024-2766: Information disclosure in podman in github.com/containers/libpod
GO-2026-6594: Podman: Malformed Image can trick podman run into leaking host environment variables into the container in github.com/containers/libpod

The highest tagged major version is
v2.
package
Version:
v1.8.2
Opens a new window with list of versions in this module.
Published: Mar 19, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func CreatePod() error
-
func Exists(ctx context.Context, nameOrID string) (bool, error)
-
func Inspect(ctx context.Context, nameOrID string) (*libpod.PodInspect, error)
-
func Kill(ctx context.Context, nameOrID string, signal *string) error
-
func List(ctx context.Context, filters map[string][]string) ([]*libpod.PodInspect, error)
-
func Pause(ctx context.Context, nameOrID string) error
-
func Prune(ctx context.Context) error
-
func Remove(ctx context.Context, nameOrID string, force *bool) error
-
func Restart(ctx context.Context, nameOrID string) error
-
func Start(ctx context.Context, nameOrID string) error
-
func Stats() error
-
func Stop(ctx context.Context, nameOrID string, timeout *int) error
-
func Top() error
-
func Unpause(ctx context.Context, nameOrID string) error
Exists is a lightweight method to determine if a pod exists in local storage
Inspect returns low-level information about the given pod.
Kill sends a SIGTERM to all the containers in a pod. The optional signal parameter
can be used to override SIGTERM.
List returns all pods in local storage. The optional filters parameter can
be used to refine which pods should be listed.
Pause pauses all running containers in a given pod.
Prune removes all non-running pods in local storage.
Remove deletes a Pod from from local storage. The optional force parameter denotes
that the Pod can be removed even if in a running state.
Restart restarts all containers in a pod.
Start starts all containers in a pod.
Stop stops all containers in a Pod. The optional timeout parameter can be
used to override the timeout before the container is killed.
Unpause unpauses all paused containers in a Pod.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.