Possible to add arguments to railway's 'docker run' command or equivalent?

sam_12HOBBY

a year ago

I'm trying to build from a docker image 'dockurr/windows', and the required arguments for running this image with 'docker run' on my local device are:
'--device=/dev/kvm --cap-add NET_ADMIN'

Since i haven't yet found a way to add these arguments to the container using railway, im getting the error in railway deploy logs:
"ERROR: Failed to create bridge. Please add the following setting to your container: --cap-add NET_ADMIN"

Is there a way to add those arguments, or is this feature not available in railway?

6 Replies

a year ago

This would not be possible on Railway.


thipokchPRO

a year ago

Will there be plans to support adding --cap-add NET_ADMIN?


a year ago

Please share your usecase.


thipokchPRO

a year ago

I'm trying to create a tunnel for the service.


a year ago

Could you go further in depth?


thipokchPRO

a year ago

I'm trying to create a tunnel for a private network using https://hub.docker.com/r/tailscale/tailscale container. It doesn't required /dev/net/tun for incoming traffic, but for outgoing traffic it would need /dev/net/tun (which comes with NET_ADMIN capability)


Possible to add arguments to railway's 'docker run' command or equivalent? - Railway Help Station