summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go
index f18615760..c336fa629 100644
--- a/cmd/podman/main.go
+++ b/cmd/podman/main.go
@@ -151,6 +151,11 @@ func main() {
Usage: "used to pass an option to the storage driver",
},
}
+ if _, err := os.Stat("/etc/containers/registries.conf"); err != nil {
+ if os.IsNotExist(err) {
+ logrus.Warn("unable to find /etc/containers/registries.conf. some podman (image shortnames) commands may be limited")
+ }
+ }
if err := app.Run(os.Args); err != nil {
if debug {
logrus.Errorf(err.Error())