You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.
root@ubuntu-1gb-blr1-01:/# rkt run quay.io/coreos/alpine-sh --interactive
/ # ls
bin dev etc home lib linuxrc media mnt proc root run sbin sys tmp usr var
/ # }}}Container rkt-0ea19d08-0cc8-4e90-8997-051764083fc0 terminated by signal KILL.
root@ubuntu-1gb-blr1-01:/#
root@ubuntu-1gb-blr1-01:/# rkt list
UUID APP IMAGE NAME STATE CREATED STARTED NETWORKS
0ea19d08 alpine-sh quay.io/coreos/alpine-sh:latest exited 34 seconds ago 34 seconds ago
root@ubuntu-1gb-blr1-01:/# rkt run-prepared 0ea19d08
run-prepared: pod "0ea19d08-0cc8-4e90-8997-051764083fc0" is not prepared
What did you expect to see?
well, a restarted pod
i want to re-run an exit'd pod What did you see instead?
root@ubuntu-1gb-blr1-01:/# rkt run-prepared 0ea19d08
run-prepared: pod "0ea19d08-0cc8-4e90-8997-051764083fc0" is not prepared
The text was updated successfully, but these errors were encountered:
As the documentation says, run-prepared is meant to be used with prepare instead of run. You cannot "restart a pod" as it will mess with previous logs, mounts and volumes. You can however re-run it from scratch by reusing the same pod manifest.
I think it clashes quite a bit with design assumptions about pod lifecycle and identity, but if you concrete ideas/proposals on how to address those behavioral details we'll be happy to discuss.
lucab
changed the title
Error: run-prepared: pod "0ea19d08-0cc8-4e90-8997-051764083fc0" is not prepared
run-prepared: restarting exited pods
Jul 17, 2017
I'm closing this issue. i have no idea why i created this issue in the first place, perhaps maybe i had a better proposal/idea back then but it's gone now.
Environment
Linux ubuntu-1gb-blr1-01 4.4.0-83-generic # 106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
What did you do?
What did you expect to see?
well, a restarted pod
i want to re-run an exit'd pod
What did you see instead?
The text was updated successfully, but these errors were encountered: