adventure-time icon indicating copy to clipboard operation
adventure-time copied to clipboard

Need a way to limit CPU & Memory per container

Open cloudgifts opened this issue 8 years ago • 1 comments

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?

cloudgifts avatar Mar 23 '18 02:03 cloudgifts

We're using the Docker Remote API (npm module is docker-run), I think you can pass options via JSON to the Remote API?

max-mapper avatar Apr 16 '18 18:04 max-mapper