0

I have a docker container, which was created using docker run command and basic command line options.

Now the docker is running and I would like to add more options i.e. RAM, mount new partition and change the process user from root to non-root user.

How can I change the configuration of existing docker?

Thanks

1 Answer 1

0
  • Create an image from the existing container (docker commit...)
  • Use that image as the base (FROM ...) in a Dockerfile that defines/replaces what you want. AFAIK RAM usage is not defined by the container.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .