mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
test
This commit is contained in:
parent
1f5df32141
commit
07a01d2511
2 changed files with 7 additions and 0 deletions
|
|
@ -354,3 +354,9 @@ func (c *DockerCommand) PruneImages() error {
|
|||
_, err := c.Client.ImagesPrune(context.Background(), filters.Args{})
|
||||
return err
|
||||
}
|
||||
|
||||
// PruneContainers prunes containers
|
||||
func (c *DockerCommand) PruneContainers() error {
|
||||
_, err := c.Client.ContainersPrune(context.Background(), filters.Args{})
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -153,6 +153,7 @@ func GetDefaultConfig() UserConfig {
|
|||
ConfirmOnQuit: false,
|
||||
CommandTemplates: CommandTemplatesConfig{
|
||||
RestartService: "docker-compose restart {{ .Name }}",
|
||||
RebuildService: "docker-compose up -d --build {{ .Name }}",
|
||||
DockerCompose: "apdev compose",
|
||||
StopService: "apdev stop {{ .Name }}",
|
||||
ServiceLogs: "apdev logs {{ .Name }}",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue