Home > other >  Would like to ask a question, for example, nginx is running in a container, now I'm going to mo
Would like to ask a question, for example, nginx is running in a container, now I'm going to mo

Time:09-30

Would like to ask a question, for example, nginx is running in a container, now I'm going to modify the container in nginx. Conf, increase a child domain, then what should I do?
Don't create a new image, and then stop the rm old image, and then run the new?


the problem from the CSDN Docker communication technology group (303806405), by the moderator xinshubiao,

CodePudding user response:

You can mount the configuration file, start from the outside when mount configuration file


the answer from the CSDN Docker communication technology group (303806405), by the webmaster xinshubiao finishing, due to the manual editing, the questioner and the respondent QQ number and nickname had no marked one by one, simply use the ABCD instead of asking questions or reply, on behalf of A questioner, here, first thanked the group students participating in the discussion,

CodePudding user response:

Docker exec can enter the container modification
  • Related