Przeglądaj źródła

Merge pull request #7549 from vieux/fix_leftover

fix #7374 leftover
Tibor Vass 11 lat temu
rodzic
commit
136631df46
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      daemon/delete.go

+ 1 - 1
daemon/delete.go

@@ -58,7 +58,7 @@ func (daemon *Daemon) ContainerDestroy(job *engine.Job) engine.Status {
 					return job.Errorf("Could not kill running container, cannot remove - %v", err)
 					return job.Errorf("Could not kill running container, cannot remove - %v", err)
 				}
 				}
 			} else {
 			} else {
-				return job.Errorf("You cannot remove a running container. Stop the container before attempting removal or use -s or -k")
+				return job.Errorf("You cannot remove a running container. Stop the container before attempting removal or use -f")
 			}
 			}
 		}
 		}
 		if err := daemon.Destroy(container); err != nil {
 		if err := daemon.Destroy(container); err != nil {