\r\n# Homebrew\r\nbrew tap jesseduffield\/lazydocker\r\nbrew install lazydocker\r\n<\/pre>\nLinux\/OSX<\/p>\n
\r\n# Binary Release (Linux\/OSX)\r\ncurl https:\/\/raw.githubusercontent.com\/jesseduffield\/ \\\r\n lazydocker\/master\/scripts\/install_update_linux.sh | bash<\/pre>\nGo<\/p>\n
\r\n# Go\r\n# Required Go version >= 1.8\r\ngo get github.com\/jesseduffield\/lazydocker<\/pre>\nZsh<\/p>\n
\r\n# zsh config\r\necho \"alias lzd='lazydocker'\" >> ~\/.zshrc<\/pre>\nDocker<\/p>\n
\r\n# docker build -t lazydocker .\r\n# docker run -it lazydocker:latest \/bin\/sh -l\r\n\r\nFROM golang:alpine\r\nWORKDIR \/go\/src\/github.com\/jesseduffield\/lazydocker\/\r\nCOPY .\/ .\r\nRUN CGO_ENABLED=0 GOOS=linux go build\r\n\r\nFROM alpine:latest\r\nRUN apk add -U git xdg-utils\r\nWORKDIR \/go\/src\/github.com\/jesseduffield\/lazydocker\/\r\nCOPY --from=0 \/go\/src\/github.com\/jesseduffield\/lazydocker \/go\/src\/github.com\/jesseduffield\/lazydocker\r\nCOPY --from=0 \/go\/src\/github.com\/jesseduffield\/lazydocker\/lazydocker \/bin\/\r\nRUN echo \"alias gg=lazydocker\" >> ~\/.profile<\/pre>\n3. \u952e\u76d8\u7ed1\u5b9a<\/strong><\/div>\n\u5feb\u6377\u952e\u4f7f\u7528\u8d77\u6765\u66f4\u65b9\u4fbf<\/strong><\/span><\/div>\nProject<\/p>\n
e: edit lazydocker config\r\n o: open lazydocker config\r\n [: previous tab\r\n ]: next tab\r\n m: view logs\r\n enter: focus main panel<\/pre>\nContainers<\/p>\n
\r\n [: previous tab\r\n ]: next tab\r\n d: remove\r\n e: Hide\/Show stopped containers\r\n s: stop\r\n r: restart\r\n a: attach\r\n D: prune exited containers\r\n m: view logs\r\n c: run predefined custom command\r\n enter: focus main panel<\/pre>\nServices<\/p>\n
\r\n d: remove containers\r\n s: stop\r\n r: restart\r\n a: attach\r\n m: view logs\r\n [: previous tab\r\n ]: next tab\r\n R: view restart options\r\n c: run predefined custom command\r\n enter: focus main panel<\/pre>\nImages<\/p>\n
\r\n [: previous tab\r\n ]: next tab\r\n d: remove image\r\n D: prune unused images\r\n enter: focus main panel<\/pre>\nVolumes<\/p>\n
\r\n [: previous tab\r\n ]: next tab\r\n d: remove volume\r\n D: prune unused volumes\r\n enter: focus main panel<\/pre>\nMain<\/p>\n
esc: return<\/pre>\n","protected":false},"excerpt":{"rendered":"\u8f7b\u5ea6\u7528\u6237\u4f7f\u7528\u5c1a\u53ef\uff0c\u53ef\u4e0d\u8981\u628a\u5b83\u5f53\u505a\u662f\u4e00\u4e2a\u4e13\u4e1a\u7684\u7ba1\u7406\u5de5\u5177\uff0c\u54c8\u54c8\u54c8 \u67e5\u770bdocker\u6216docker-compose\u5bb9 […]<\/p>\n","protected":false},"author":1469,"featured_media":216353,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-216347","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/216347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1469"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=216347"}],"version-history":[{"count":13,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/216347\/revisions"}],"predecessor-version":[{"id":216902,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/216347\/revisions\/216902"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/216353"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=216347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=216347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=216347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}