Can I self-host a Zrok Docker container without a subdomain, domain, or static IP?

Hey everyone,

I’m looking to self-host the Zrok Docker container without using a subdomain, domain, or static IP. Is this possible? I only want to use the Zrok Docker container, but I’m unsure how to expose my local host to the internet without those requirements. I couldn’t find any related information in the documentation. If it’s possible, could someone explain how to go about it? And i want zrok docker container only without subdomain or domain.

Additionally, I have a backend running on an EC2 instance, and my frontend is running locally. I tried to expose it using Zrok (I used the Zrok script - installed zrok binary, not the Docker container), but I couldn’t log in, and my requests didn’t seem to reach the backend. Has anyone faced a similar issue, and how can I fix it?

Third thing are there any limitations of generating forwarding url if I install zrok using the script - zrok binary provided in the documentation.

Looking forward to your help!

Hey there :wave:

I'm unsure if you're looking to host a zrok share using someone else's zrok instance or if you want to host a dedicate zrok controller/frontend "instance" on your own computer.

What's the command-line equivalent of what you want to run in a container, so I can understand your goal? That is, is it your goal to run zrok share or zrok access private (or both) in containers or to run zrok controller and zrok access public in containers?

This sounds like you want to keep zrok share public or zrok share private running in a container in a reliable fashion, without publishing the container's ports to the internet. Is that right? If so, you're looking for the Docker instructions here: Getting Started with Docker | zrok