Report this

What is the reason for this report?

How does we change memory dedicated to Docker in Linux?

Posted on March 8, 2021

As part of Docker certification projects, I’m trying to run the confluent cp-demo docker image. I’m using Ubuntu 20-04 and in order to start the container, I need to increase the docker max memory setting from the default 2GB to 8GB.

This can be done easily on Windows and Mac by the Docker Desktop app but that isn’t available on Ubuntu and I haven’t found a way to modify it using the cli. (I can only modify the memory of a container after I started it with the cli,but in order to start cp-demo it says I need to change the memory setting first).

Does anyone know how can I do this?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.