mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
Merge 471af0a56a into 7e7aadc207
This commit is contained in:
commit
d3bae2428a
1 changed files with 4 additions and 0 deletions
|
|
@ -347,6 +347,10 @@ func (gui *Gui) handleContainersRemoveMenu(g *gocui.Gui, v *gocui.View) error {
|
||||||
LabelColumns: []string{gui.Tr.Remove, "docker rm " + ctr.ID[1:10]},
|
LabelColumns: []string{gui.Tr.Remove, "docker rm " + ctr.ID[1:10]},
|
||||||
OnPress: func() error { return handleMenuPress(container.RemoveOptions{}) },
|
OnPress: func() error { return handleMenuPress(container.RemoveOptions{}) },
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
LabelColumns: []string{gui.Tr.RemoveWithForce, "docker rm --force " + ctr.ID[1:10]},
|
||||||
|
OnPress: func() error { return handleMenuPress(container.RemoveOptions{Force: true}) },
|
||||||
|
},
|
||||||
{
|
{
|
||||||
LabelColumns: []string{gui.Tr.RemoveWithVolumes, "docker rm --volumes " + ctr.ID[1:10]},
|
LabelColumns: []string{gui.Tr.RemoveWithVolumes, "docker rm --volumes " + ctr.ID[1:10]},
|
||||||
OnPress: func() error { return handleMenuPress(container.RemoveOptions{RemoveVolumes: true}) },
|
OnPress: func() error { return handleMenuPress(container.RemoveOptions{RemoveVolumes: true}) },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue