summaryrefslogtreecommitdiff
path: root/cmd/podman/export.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/export.go')
-rw-r--r--cmd/podman/export.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/export.go b/cmd/podman/export.go
index 004c3ccde..82a4c13e7 100644
--- a/cmd/podman/export.go
+++ b/cmd/podman/export.go
@@ -41,7 +41,7 @@ func init() {
// exportCmd saves a container to a tarball on disk
func exportCmd(c *cliconfig.ExportValues) error {
- runtime, err := adapter.GetRuntime(&c.PodmanCommand)
+ runtime, err := adapter.GetRuntime(getContext(), &c.PodmanCommand)
if err != nil {
return errors.Wrapf(err, "could not get runtime")
}