-
Is it possible to modify the configurations for an existing docker container? Things like modifying memory options, JVM_OPTS, adding plugins, etc. I suppose I could rephrase the question to could I use docker commands to manage the documented creation/run parameters of the docker-minecraft-server? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That's a very general Docker question, but basically, no, you can't. From the commands list an "edit" command is unfortunately missing. You'll need to instead remove and recreate the container. I recommend using docker compose to avoid that annoyance since compose will seamless take care of container recreation for you when editing the environment variables, etc. |
Beta Was this translation helpful? Give feedback.
That's a very general Docker question, but basically, no, you can't. From the commands list an "edit" command is unfortunately missing. You'll need to instead remove and recreate the container.
I recommend using docker compose to avoid that annoyance since compose will seamless take care of container recreation for you when editing the environment variables, etc.