How do I edit a container file?

Trung Minh

New member
How do I edit a container file?
Answer
Opening a shell and editing the httpd.conf file from the command line
  1. Run the Apache web server container. …
  2. Get the id of the running container. …
  3. Open a shell in the running container. …
  4. Check the current value of the LogLevel directive within the configuration file. …
  5. Use sed to search and replace the line with what we want.
 

Tìm kiếm

Back
Top