selfhostedops-stack/managers/measurements/13-portainer-redeploy.txt

19 lines
1.1 KiB
Text

# Portainer: Test-Stack anlegen, dreimal neu ausrollen, Sat Oct 17 12:18:31 PM UTC 2026
traefik/whoami:latest local = sha256:200689790a0a0ea48ca45992e0450bc26ccab5307375b41c84dfc4f2475937ab [traefik/whoami@sha256:200689790a0a0ea48ca45992e0450bc26ccab5307375b41c84dfc4f2475937ab]
$ POST /api/stacks/create/standalone/string name ep18-whoami
{"Id":1,"Name":"ep18-whoami","ProjectPath":"/data/compose/1","EntryPoint":"docker-compose.yml","Status":3}
API returned after 0.10 s
RUN=0: 2/2 containers running after 0.61 s
$ PUT /api/stacks/1 (RUN=1, pullImage false, prune false)
HTTP 200, API returned after 0.005406 s
RUN=1: 2/2 containers running after 0.75 s
$ PUT /api/stacks/1 (RUN=2, pullImage false, prune false)
HTTP 200, API returned after 0.008136 s
RUN=2: 2/2 containers running after 0.67 s
$ PUT /api/stacks/1 (RUN=3, pullImage false, prune false)
HTTP 200, API returned after 0.007799 s
RUN=3: 2/2 containers running after 0.70 s
# where Portainer keeps the file:
OCI runtime exec failed: exec failed: unable to start container process: exec: "ls": executable file not found in $PATH
docker-compose.yml