docker
Docker 負責執行平台服務。Kubernetes 工作負載則在 CRI-O 下運行。
docker-ps
Section titled “docker-ps”{"command":["docker-ps"]}CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESf117f7fec5ed gcr.download.volterra.io/volterraio/site-console "container-entrypoin…" About an hour ago Up About an hour site-console6e922d6c5cd2 gcr.download.volterra.io/volterraio/vpm "/bin/vpmd" About an hour ago Up About an hour vpma89a93e00ed7 gcr.download.volterra.io/volterraio/argo "/bin/bash -c 'sourc…" About an hour ago Up About an hour argo_watchdocker-ps-a
Section titled “docker-ps-a”{"command":["docker-ps-a"]}CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESf117f7fec5ed gcr.download.volterra.io/volterraio/site-console "container-entrypoin…" About an hour ago Up About an hour site-console6e922d6c5cd2 gcr.download.volterra.io/volterraio/vpm "/bin/vpmd" About an hour ago Up About an hour vpma89a93e00ed7 gcr.download.volterra.io/volterraio/argo "/bin/bash -c 'sourc…" About an hour ago Up About an hour argo_watch包含已退出的容器,因此若 vpm 持續崩潰,可在此處留下紀錄。
docker-images
Section titled “docker-images”{"command":["docker-images"]}IMAGE ID DISK USAGE CONTENT SIZE EXTRA映像標籤標示了節點實際運行的平台版本,建議與 health 所回報的軟體建置版本進行比對。
docker-inspect
Section titled “docker-inspect”{"command":["docker-inspect","<container-id-or-name"]}[ { "Id": "f117f7fec5ed440b3eb6f2fed45cb26ea2ec83f93faedc312c33ed74216c3ccb", "Created": "2026-08-03T15:02:21.734985693Z", "Path": "container-entrypoint", "Args": [ "npm", "run", "start-prod:site-console" ], "State": { "Status": "running", "Running": true, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 2403, "ExitCode": 0, "Error": "", "StartedAt": "2026-08-03T15:02:22.194718719Z", "FinishedAt": "0001-01-01T00:00:00Z" }, "Image": "sha256:654314755ed88bed4ae872f63dc271809b5800817f5a6e91d82f3b6836917b25", "ResolvConfPath": "/var/lib/docker/containers/f117f7fec5ed440b3eb6f2fed45cb26ea2ec83f93faedc312c33ed74216c3ccb/resolv.conf", "HostnamePath": "/var/lib/docker/containers/f117f7fec5ed440b3eb6f2fed45cb26ea2ec83f93faedc312c33ed74216c3ccb/hostname", "HostsPath": "/var/lib/docker/containers/f117f7fec5ed440b3eb6f2fed45cb26ea2ec83f93faedc312c33ed74216c3ccb/hosts", "LogPath": "/var/lib/docker/containers/f117f7fec5ed440b3eb6f2fed45cb26ea2ec83f93faedc312c33ed74216c3ccb/f117f7fec5ed440b3eb6f2fed45cb26ea2ec83f93faedc312c33ed74216c3ccb-json.log", "Name": "/site-console", "RestartCount": 0, "Driver": "overlay2", "Platform": "linux", "MountLabel": "", "ProcessLabel": "", "AppArmorProfile": "", "ExecIDs": null, "HostConfig": { "Binds": [ "/var/lib/vpm/data/certs/used/:/usr/src/apps/volterra/site-console/certs/:ro", "/tmp/debuginfo/:/usr/src/apps/volterra/site-console/debug_info:ro" ], "ContainerIDFile": "", "LogConfig": { "Type": "json-file", "Config": { "max-size": "50m" } }, "NetworkMode": "host", "PortBindings": {}, "RestartPolicy": { "Name": "no", "MaximumRetryCount": 0 }, "AutoRemove": true, "VolumeDriver": "", "VolumesFrom": null, "ConsoleSize": [ 0, 0
... [capture trimmed: first 60 of 261 lines]接受名稱或 ID 作為參數,因此 docker-inspect vpm 可正常運作,且在重新啟動後仍保持穩定。完整 JSON 內容涵蓋:掛載點、環境變數、重啟策略及退出狀態。
docker-logs
Section titled “docker-logs”{"command":["docker-logs","<container-id-or-name>"]}> site-console@0.0.1 start-prod:site-console> cd server;npm start
> stellar-webserver@1.0.0 start> node index.js
CE is not provisioned, enabling all proxies.8/3/2026, 3:02:23 PM || info: "Enabling http-basic-auth as required by config"8/3/2026, 3:02:23 PM || info: "Serving static content from ../debug_info folder on endpoint /debug-info/files with index page enabled"8/3/2026, 3:02:23 PM || info: "Same port passed for HTTP and HTTPS server (port 65500), disabling HTTP server then..."8/3/2026, 3:02:23 PM || info: "HTTPS server started; port: 65500"localhost : 2008/3/2026, 3:39:56 PM || info: "password-verify exited with code: 200 / {\"username\":\"admin\",\"status\":true}"8/3/2026, 3:39:56 PM || info: "Route /usr/src/apps/volterra/site-console/dist/site-console/, replacing with index.html"localhost : 5008/3/2026, 3:39:58 PM || info: "password-verify exited with code: 500 / {\"code\":13,\"details\":[{\"code\":\"UNKNOWN\",\"details\":\"Unable to validate current password for this user: admin\",\"timestamp\":\"2026-08-03T15:39:58Z\"}],\"message\":\"Unable to validate current password for this user: admin\"}"localhost : 5008/3/2026, 3:43:30 PM || info: "password-verify exited with code: 500 / {\"code\":13,\"details\":[{\"code\":\"UNKNOWN\",\"details\":\"Unable to validate current password for this user: admin\",\"timestamp\":\"2026-08-03T15:43:30Z\"}],\"message\":\"Unable to validate current password for this user: admin\"}"localhost : 2008/3/2026, 3:43:32 PM || info: "password-verify exited with code: 200 / {\"username\":\"admin\",\"status\":true}"8/3/2026, 3:43:32 PM || info: "Route /usr/src/apps/volterra/site-console/dist/site-console/, replacing with index.html"localhost : 5008/3/2026, 3:43:33 PM || info: "password-verify exited with code: 500 / {\"code\":13,\"details\":[{\"code\":\"UNKNOWN\",\"details\":\"Unable to validate current password for this user: admin\",\"timestamp\":\"2026-08-03T15:43:33Z\"}],\"message\":\"Unable to validate current password for this user: admin\"}"
npm warn Unknown global config "python". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.npm warn Unknown env config "python". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.npm warn Unknown global config "python". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.(node:28) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [Server]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit(Use `node --trace-warnings ...` to show where the warning was created)docker-logs vpm 是查詢註冊錯誤最快速的方式。若需要包含時間戳記且跨重啟的相同資訊,請改用 journalctl。
docker-prune
Section titled “docker-prune”execcli docker-prune移除所有未使用的 Docker 物件——包括已停止的容器、未使用的網路、懸空映像及建置快取。
僅限從設備本機執行。 docker-prune 不在除錯 API 中;需透過 execcli 執行。