Giter Club home page Giter Club logo

Comments (7)

jesseduffield avatar jesseduffield commented on April 28, 2024 1

Have a go at this release, I believe it will solve the immediate issue: https://github.com/jesseduffield/lazydocker/releases/tag/v0.2.2

from lazydocker.

kiawin avatar kiawin commented on April 28, 2024

I'm getting the same blank screen running in Archlinux.

Version

$ lazydocker -v
commit=1f6971e2ffcef09983ae9cf8134dce36a7ba7e63, build date=2019-06-30T02:17:10Z, build source=binaryRelease, version=0.2.1, os=linux, arch=amd64

Config

$ lazydocker -config
gui:
  scrollHeight: 2
  theme:
    activeBorderColor:
    - green
    - bold
    inactiveBorderColor:
    - white
    optionsTextColor:
    - blue
reporting: undetermined
commandTemplates:
  restartService: '{{ .DockerCompose }} restart {{ .Service.Name }}'
  dockerCompose: docker-compose
  stopService: '{{ .DockerCompose }} stop {{ .Service.Name }}'
  serviceLogs: '{{ .DockerCompose }} logs --since=60m --follow {{ .Service.Name }}'
  viewServiceLogs: '{{ .DockerCompose }} logs --follow {{ .Service.Name }}'
  rebuildService: '{{ .DockerCompose }} up -d --build {{ .Service.Name }}'
  recreateService: '{{ .DockerCompose }} up -d --force-recreate {{ .Service.Name }}'
  viewContainerLogs: docker logs --timestamps --follow --since=60m {{ .Container.ID
    }}
  containerLogs: docker logs --timestamps --follow --since=60m {{ .Container.ID }}
  allLogs: '{{ .DockerCompose }} logs --tail=300 --follow'
  viewAlLogs: '{{ .DockerCompose }} logs'
  dockerComposeConfig: '{{ .DockerCompose }} config'
  checkDockerComposeConfig: '{{ .DockerCompose }} config --quiet'
  serviceTop: '{{ .DockerCompose }} top {{ .Service.Name }}'
customCommands:
  containers:
  - name: bash
    attach: true
    command: docker exec -it {{ .Container.ID }} /bin/sh
    serviceNames: []
oS:
  openCommand: sh -c "xdg-open {{filename}} >/dev/null"
  openLinkCommand: sh -c "xdg-open {{link}} >/dev/null"
update:
  method: never
stats:
  graphs:
  - caption: CPU (%)
    statPath: DerivedStats.CPUPercentage
    color: cyan
  - caption: Memory (%)
    statPath: DerivedStats.MemoryPercentage
    color: green

Gets the same screen when i run lazydocker -debug.

from lazydocker.

jesseduffield avatar jesseduffield commented on April 28, 2024

alright this one is going to be tricky to debug :P
When you use the -debug flag, logs will be written to development.log in a path like to /Users/<your user name>/Library/Application Support/jesseduffield/lazydocker.

I think for linux it's ${HOME}/.config/jesseduffield/lazydocker or ${XDG_CONFIG_HOME}/jesseduffield/lazydocker.

Could you check to see if anything gets logged to that file before the app gets stuck?

from lazydocker.

jesseduffield avatar jesseduffield commented on April 28, 2024

ah, I just tested to see what happened when I opened the program after exiting my docker daemon, and I too now get the blank screen. I think all we can really do here is to close the program with a useful error message.

Are your docker daemons running when you try to open lazydocker? For reference I'm using Docker Desktop for Mac

from lazydocker.

kiawin avatar kiawin commented on April 28, 2024

My bad, I didn't realise my docker daemon was dead. Thanks! :D

from lazydocker.

maksimu avatar maksimu commented on April 28, 2024

from lazydocker.

maksimu avatar maksimu commented on April 28, 2024

Now I'm getting expected error when my Docker is not running and I'm on lazydocker 2.4

➜  ~ lazydocker
2019/06/30 10:13:01 An error occurred! Please create an issue at https://github.com/jesseduffield/lazydocker/issues

*errors.errorString Error response from daemon: Bad response from Docker engine
write unix ->vms/0/connect: write: broken pipe
/go/src/github.com/jesseduffield/lazydocker/main.go:68 (0x141c2d9)
/usr/local/go/src/runtime/proc.go:200 (0x102d1ac)
/usr/local/go/src/runtime/asm_amd64.s:1337 (0x1057e61)

Thanks for fixing it so quickly!

from lazydocker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.