- الرئيسية
- الشبكات متعددة السحابات
- Customer Edge diagnostics
- Command reference
- System commands
- docker
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]يقبل الاسم إلى جانب المعرف، لذا فإن 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 في واجهة برمجة التطبيقات للتصحيح؛ فهو يحتاج إلى
execcli.