R
RunPod•14mo ago
cunnaredu

How expose a tcp port without losing the pod data?

Pretty dumb move from my side, any way to save a day of work?
4 Replies
Madiator2011
Madiator2011•14mo ago
all files saved on volume storage is being saved, container storage will always get wiped on pod stop
J.
J.•14mo ago
^what this means is move things under the /workspace folder 🙂 And then when you restart your pod / edit the pod to have the TCP port, the data will persist tho u might need to redo ur pips / apt-get installs
cunnaredu
cunnareduOP•14mo ago
my volume mount path is already /workspace 😃 I can proceed without issues then?
J.
J.•14mo ago
As long as your stuff u dont want to lose is inside of the /workspace then yes It just cannot exist outside of the /workspace folder If u want it persisted

Did you find this page helpful?