Using a scratch image - How to ssh into a volume?
fable
HOBBYOP

a year ago

Hi there,

using a scratch image and I was wondering how I might go about SSH'ing into the volume that it is attached to.

I cannot seem to get it working and can find no info on sshing into the volume itself

Solved

6 Replies

fable
HOBBYOP

a year ago

571e5c74-ec9e-423b-a967-6579cf625885


a year ago

Hello,

You cannot SSH into a volume the same way you cannot SSH into your computer's SSD.

But you also cannot SSH into a deployment with a scratch image since they do not by default contain a bash or sh shell, without a shell there's nothing to allow railway SSH to work.


fable
HOBBYOP

a year ago

Aye, that was what I was wondering as the scratch has nothing in it aside from the app. Hmm interesting about the volumes, so volumes are a little different it seems. tiss a pity.


a year ago

volumes are a lot different, they are a drive for storage, not something that runs code.


a year ago

but yeah, you can likely get away by copying bash or sh into the final image, and whatever else it needs to function


a year ago

!s


Status changed to Solved brody 11 months ago


Loading...