diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-10 11:49:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-10 11:49:46 -0500 |
commit | 41613bdb96953c9cea8a8fd46da211bd42660944 (patch) | |
tree | f9bd8e92e9f08bc5b0d6da18f73ccd21e58277b1 /cmd/podman | |
parent | bc0fa658f7617454673f8e2faf9298bef2890ea0 (diff) | |
parent | ea68f178e062092ee720c5f293e6b551dabf8c44 (diff) | |
download | podman-41613bdb96953c9cea8a8fd46da211bd42660944.tar.gz podman-41613bdb96953c9cea8a8fd46da211bd42660944.tar.bz2 podman-41613bdb96953c9cea8a8fd46da211bd42660944.zip |
Merge pull request #8915 from rhatdan/remote
Improve error message when the the podman service is not enabled
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/root.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/root.go b/cmd/podman/root.go index 1f613a4c5..0ee530242 100644 --- a/cmd/podman/root.go +++ b/cmd/podman/root.go @@ -158,7 +158,7 @@ func persistentPreRunE(cmd *cobra.Command, args []string) error { // Prep the engines if _, err := registry.NewImageEngine(cmd, args); err != nil { - return err + return errors.Wrapf(err, "Cannot connect to the Podman socket, make sure there is a Podman REST API service running.") } if _, err := registry.NewContainerEngine(cmd, args); err != nil { return err |