You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to customize my environment to support Podman, and it partially works, but some commands seems to be hard coded and is not possible to customize.
When deleting a container with compose it tries to run the command {{ .DockerCompose }} rm --stop --force hello_world which will fail with the error podman-compose: error: argument command: invalid choice: 'rm'
podman-compose does not have the rm option, so i tried to change the commandTemplates.down and commandTemplates.downWithVolumes configuration option, but that does not seem to have any effect.
I managed to locate the code where it runs the command:
I have not checked if there are other places that also has this problem, but using commandTemplates would be a important improvement for supporting Podman.
Running lazydocker version 0.23.3 on NixOS.
The text was updated successfully, but these errors were encountered:
hauskens
added a commit
to hauskens/home-manager
that referenced
this issue
Jun 26, 2024
* Add lazydocker module
* maintainers: add hausken
Based on Lazygit module.
Note: Podman is not supported, you can set the DOCKER_HOST env var, but the experience is not good. Created a request in lazydocker repo jesseduffield/lazydocker#556
hauskens
added a commit
to hauskens/home-manager
that referenced
this issue
Jun 27, 2024
* Add lazydocker module
* maintainers: add hausken
Based on Lazygit module.
Note: Podman is not supported, you can set the DOCKER_HOST env var, but the experience is not good. Created a request in lazydocker repo jesseduffield/lazydocker#556
I've tried to customize my environment to support Podman, and it partially works, but some commands seems to be hard coded and is not possible to customize.
When deleting a container with compose it tries to run the command
{{ .DockerCompose }} rm --stop --force hello_world
which will fail with the errorpodman-compose: error: argument command: invalid choice: 'rm'
podman-compose does not have the
rm
option, so i tried to change thecommandTemplates.down
andcommandTemplates.downWithVolumes
configuration option, but that does not seem to have any effect.I managed to locate the code where it runs the command:
lazydocker/pkg/gui/services_panel.go
Line 156 in 06ab7b7
lazydocker/pkg/gui/services_panel.go
Line 160 in 06ab7b7
I have not checked if there are other places that also has this problem, but using commandTemplates would be a important improvement for supporting Podman.
Running lazydocker version 0.23.3 on NixOS.
The text was updated successfully, but these errors were encountered: