dsh-plugin-container 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,7 +10,7 @@ A DSH sidebar panel for managing containers on macOS: Docker (colima / Docker De
10
10
 
11
11
  - Two providers, Docker and Apple container, with runtime status and context switching
12
12
  - Containers, images, volumes, networks, Compose, and commands
13
- - Start / stop / restart / delete containers; pull / inspect / delete images
13
+ - Start / stop / restart / delete containers; pull / push / build / inspect / delete images
14
14
  - Logs, inspect, and live follow
15
15
  - **Attach**: `docker attach` for Docker; `container exec` for Apple
16
16
  - **Exec**: open a shell inside a container (`docker exec -it <id> /bin/sh`)
@@ -52,6 +52,8 @@ Do not enable source-path mode and npm-package mode at the same time.
52
52
  - Logs / Follow / Inspect
53
53
  - Attach: take over the container's main process
54
54
  - Exec: open a new shell inside the container
55
+ - Build: build an image from an absolute context path and optional Dockerfile
56
+ - Push: push an image to its registry
55
57
  - Ask AI / Diagnose: starts a separate DSH session that calls the read-only container tools
56
58
  4. The Images tab shows architecture and can start a container directly from an image
57
59
 
@@ -87,7 +89,7 @@ npm publish --access public --provenance
87
89
  ```bash
88
90
  npm install
89
91
  npm run build # src/client -> lib/client.js
90
- npm test # 46 tests
92
+ npm test # 47 tests
91
93
  npm pack # pre-release check
92
94
  ```
93
95
 
package/README.zh-CN.md CHANGED
@@ -10,7 +10,7 @@ DSH 左栏容器面板:管理 macOS 上的 Docker(colima / Docker Desktop /
10
10
 
11
11
  - Docker / Apple container 双 provider,运行时状态、上下文切换
12
12
  - 容器、镜像、卷、网络、Compose、命令
13
- - 容器启动/停止/重启/删除,镜像 pull/inspect/delete
13
+ - 容器启动/停止/重启/删除,镜像 pull/push/build/inspect/delete
14
14
  - 查看日志、inspect、实时 follow
15
15
  - **Attach**:Docker `docker attach`;Apple `container exec`
16
16
  - **Exec**:进入容器内部 shell(`docker exec -it <id> /bin/sh`)
@@ -52,6 +52,8 @@ node scripts/install-profile.mjs --home "$HOME/.dsh" --profile desktop
52
52
  - 日志 / Follow / Inspect
53
53
  - Attach:接管容器主进程
54
54
  - Exec:在容器内开一个新 shell
55
+ - Build:用绝对路径构建上下文和可选 Dockerfile 构建镜像
56
+ - Push:把镜像推送到 registry
55
57
  - 问 AI / 诊断:新建独立 DSH 会话,调用只读容器工具
56
58
  4. 镜像 tab 可查看架构,或直接用镜像启动容器
57
59
 
@@ -87,7 +89,7 @@ npm publish --access public --provenance
87
89
  ```bash
88
90
  npm install
89
91
  npm run build # src/client -> lib/client.js
90
- npm test # 46 tests
92
+ npm test # 47 tests
91
93
  npm pack # 发布前检查
92
94
  ```
93
95