mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
renew-anon-volumes
This commit is contained in:
parent
415b14fb10
commit
a0aa2c57ba
2 changed files with 16 additions and 14 deletions
|
|
@ -35,6 +35,7 @@ commandTemplates:
|
||||||
viewServiceLogs: '{{ .DockerCompose }} logs --follow {{ .Service.Name }}'
|
viewServiceLogs: '{{ .DockerCompose }} logs --follow {{ .Service.Name }}'
|
||||||
rebuildService: '{{ .DockerCompose }} up -d --build {{ .Service.Name }}'
|
rebuildService: '{{ .DockerCompose }} up -d --build {{ .Service.Name }}'
|
||||||
recreateService: '{{ .DockerCompose }} up -d --force-recreate {{ .Service.Name }}'
|
recreateService: '{{ .DockerCompose }} up -d --force-recreate {{ .Service.Name }}'
|
||||||
|
recreateServiceDropVolumes: '{{ .DockerCompose }} up -d --force-recreate --renew-anon-volumes {{ .Service.Name }}'
|
||||||
viewContainerLogs: docker logs --timestamps --follow --since=60m {{ .Container.ID
|
viewContainerLogs: docker logs --timestamps --follow --since=60m {{ .Container.ID
|
||||||
}}
|
}}
|
||||||
containerLogs: docker logs --timestamps --follow --since=60m {{ .Container.ID }}
|
containerLogs: docker logs --timestamps --follow --since=60m {{ .Container.ID }}
|
||||||
|
|
|
||||||
|
|
@ -329,6 +329,7 @@ func GetDefaultConfig() UserConfig {
|
||||||
RestartService: "{{ .DockerCompose }} restart {{ .Service.Name }}",
|
RestartService: "{{ .DockerCompose }} restart {{ .Service.Name }}",
|
||||||
RebuildService: "{{ .DockerCompose }} up -d --build {{ .Service.Name }}",
|
RebuildService: "{{ .DockerCompose }} up -d --build {{ .Service.Name }}",
|
||||||
RecreateService: "{{ .DockerCompose }} up -d --force-recreate {{ .Service.Name }}",
|
RecreateService: "{{ .DockerCompose }} up -d --force-recreate {{ .Service.Name }}",
|
||||||
|
RecreateServiceDropVolumes:"{{ .DockerCompose }} up -d --force-recreate --renew-anon-volumes {{ .Service.Name }}",
|
||||||
StopService: "{{ .DockerCompose }} stop {{ .Service.Name }}",
|
StopService: "{{ .DockerCompose }} stop {{ .Service.Name }}",
|
||||||
ServiceLogs: "{{ .DockerCompose }} logs --since=60m --follow {{ .Service.Name }}",
|
ServiceLogs: "{{ .DockerCompose }} logs --since=60m --follow {{ .Service.Name }}",
|
||||||
ViewServiceLogs: "{{ .DockerCompose }} logs --follow {{ .Service.Name }}",
|
ViewServiceLogs: "{{ .DockerCompose }} logs --follow {{ .Service.Name }}",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue