Skip to content

Instantly share code, notes, and snippets.

@pyaillet
Created December 4, 2023 17:24
Show Gist options
  • Save pyaillet/08926d5cde9e2e22751b48114b8c0233 to your computer and use it in GitHub Desktop.
Save pyaillet/08926d5cde9e2e22751b48114b8c0233 to your computer and use it in GitHub Desktop.
Minimal configuration for lazydocker https://github.com/jesseduffield/lazydocker - put this in your `~/.config/lazydocker/config.yml` file
customCommands:
containers:
- name: bash
attach: true
command: 'docker exec -it {{ .Container.ID }} bash'
serviceNames: []
- name: sh
attach: true
command: 'docker exec -it {{ .Container.ID }} sh'
serviceNames: []
- name: inspect
attach: true
command: 'sh -c "docker inspect {{ .Container.ID }} | jq -C | less"'
serviceNames: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment