mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 05:01:28 +00: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