Open cloudgifts opened 6 years ago
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?
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?