I have an image that I need to start with special run arguments, i.e: docker run --cap-add=SYS_ADMIN
.
How can I achieve this with Heroku?
Here's what I've tried -
In my package.json
I have
"start": "docker run --cap-add=SYS_ADMIN..."
In Dockerfile
I have
RUN npm start
But when I start the dyno and run heroku logs --tail
I get
docker is not a command
question from:
https://stackoverflow.com/questions/65909381/run-docker-command-in-heroku 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…