jesseduffield/lazydocker

Feature request: show container names

開放

#40 建立於 2019年7月1日

 (17 則留言) (6 個反應) (0 位負責人)Go (1,679 個分叉)batch import
good first issue

倉庫指標

星標
 (52,530 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Hi, i'v tested out lazydocker today and i love it! A feature to have is to have names on the containers where the Services window is.

I have a docker-compose.yml file:

version: '3.7'

services:
  mongodb:
    image: mongo
    container_name: "db_app"
    ports:
      - "27017:27017"

  frontend:
    image: quizgame/webclient
    container_name: "web_app"
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "8080:3000"
    environment:
      - NODE_ENV=docker
    depends_on:
      - mongodb

In Services window, there is to running containers.

running frontend 0.00%
running mongodb 0.35%

It should be:

running frontend (web_app) 0.00%
running mongodb (db_app) 0.35%

Love this tool!

貢獻者指南