mirror of
https://github.com/moby/moby.git
synced 2025-12-24 13:21:20 +03:00
Allow child to overwrite entrypoint from parent
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -302,8 +302,8 @@ func deleteAllContainers() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func deleteImages(images string) error {
|
||||
rmiCmd := exec.Command(dockerBinary, "rmi", images)
|
||||
func deleteImages(images ...string) error {
|
||||
rmiCmd := exec.Command(dockerBinary, "rmi", strings.Join(images, " "))
|
||||
exitCode, err := runCommand(rmiCmd)
|
||||
// set error manually if not set
|
||||
if exitCode != 0 && err == nil {
|
||||
|
||||
Reference in New Issue
Block a user