adventure-time
adventure-time copied to clipboard
Need a way to limit CPU & Memory per container
When launching a Docker container from the terminal, I can add switches to limit CPU & Memory like this: docker run --cpus=1 --memory=2g -it container
Is there a way to do this with the containers that launch in the browser?
We're using the Docker Remote API (npm module is docker-run), I think you can pass options via JSON to the Remote API?