Enabled mlock

Hi everyone,

I'm currently creating a template for the hashicorp vault service (https://developer.hashicorp.com/vault)
Here is the source code of the template :

But I got the following error (see the image)

The problem is that mlock is not enabled when the container run.
It can be enabled very easier by add the flag docker run --cap-add=IPC_LOCK when running docker container.

In the documentation, I've see that I can disable the mlock usage (https://developer.hashicorp.com/vault/docs/configuration#disable_mlock) but even if I use the consensus protocol so I need to run 5 containers connected to each others on 5 differents servers...

I've seen that I can overidde start commands (https://docs.railway.app/deploy/deployments#start-command) but it only override the entrypoint parameter

It's a pain point for me because I need this service for my project. And I don't really want to switch to another cloud service because railway is very simple to use.

Do you think Railway will plan or have something in it's roadmap to being able configure this kind of feature provided by docker ?

Have a good day
Or maybe add vault as a global service like postgres, redis, mongo, etc...
It's a king of database
I just see that I can disable it also if the operating system don't swap the memory.

I know that it is Google Cloud under the hood, do you know if your server use the memory swap ?
Hi, I re-up the subject

Looking for more? Join the community!

Recommended Posts
Subscription already existsI can't enable the developer plan, the system returns the message: "Subscription already exists"simple socket server got timeout errorhi i have a simple question if i have a java simple sever (spring boot) and in my app in another porCheck SuitesI'm looking for a feature that could allow to deploy if failed build So I try to use Check Suites bTypeError: fetch failed error without much description in the logsFull error below: TypeError: fetch failed at Object.fetch (/app/node_modules/next/dist/compiled/unRenamed user/organization for GitHub - unsafe?A student organization I work with has a cron job service for our database, and it's linked with ourContainer Failed to StartError Response from Daemonssh tunneling errorWhen trying to deploy a django project the following error occurs "raise ValueError('No password or Paths not working when deployed to railway but works in local environmentCurrently making a vite/typescript/react project that has working route handling locally but does nopgbouncerHey folks, I have a supabase and Nextjs (+ prisma) project deployed in Railway, what's the best optiAccessing files inside the volumewhat's the best way to export build artifacts from one service to another? during build process, a tHow usage-based resource management works ?Hello, how Railway manages resource scaling ? like how are vCPU and RAM scaled up and down automaticHow to dynamically scale the replicas of an APIs deployed via Railway based on demand?I have API service with a certain number of replicas, whats the recommended way to scale the number Laravel application failed to respondI am unsure what is causing the issue but the after deploying my laravel app, it still does not starRailway credits gone??I had $15.46 in credits, and now $5 is gone. I have a single project, and I know for a fact my projeInstalling apt packages for puppeteerHi, im trying to run puppeteer on Railway but am getting an error that it cant find some packages. IIs it possible to set permissions on volumes?Dockerfile is using user id of 1000,and the WORKDIR which they own is /app. A Volume is mounted at /