summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-10 11:49:46 -0500
committerGitHub <noreply@github.com>2021-01-10 11:49:46 -0500
commit41613bdb96953c9cea8a8fd46da211bd42660944 (patch)
treef9bd8e92e9f08bc5b0d6da18f73ccd21e58277b1 /cmd
parentbc0fa658f7617454673f8e2faf9298bef2890ea0 (diff)
parentea68f178e062092ee720c5f293e6b551dabf8c44 (diff)
downloadpodman-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')
-rw-r--r--cmd/podman/root.go2
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