mirror of
https://github.com/containers/podman
synced 2024-10-19 08:44:11 +00:00
Merge pull request #8915 from rhatdan/remote
Improve error message when the the podman service is not enabled
This commit is contained in:
commit
41613bdb96
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue