Shelling into a Railway Instance
Project ID: 714dc42f-ed34-41d8-99e0-bfcced0c97fd
So I was trying to figure out how to shell into the deployed instance on railway.app. I see this question is asked frequently and users are told to use railway link. I've done this and though I have the environment variables, I don't see the file structure of the container. Am I not understanding the feature or is this just not something you can do? I was invisioning something like ssh or docker exec shell.
6 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Interesting.. I didn't know that. Yes I was planning ahead for the moment when I would need to hunt an issue down. When I type railway run ./start.sh, it just tells me that it can't find start.sh.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I guess I don't understand. Can I use this command to enter a bash shell? If I try something like railway run ls -la, I just get a local directory listing on my computer.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ok thanks for answering this for me. I appreciate your time.
I'll look at your other suggesitons though about getting railway's code