Skip to content

Commit

Permalink
Merge pull request containers#8915 from rhatdan/remote
Browse files Browse the repository at this point in the history
Improve error message when the the podman service is not enabled
  • Loading branch information
openshift-merge-robot authored Jan 10, 2021
2 parents bc0fa65 + ea68f17 commit 41613bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/podman/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41613bd

Please sign in to comment.