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
Answer
Opening a shell and editing the httpd.conf file from the command line
- Run the Apache web server container. …
- Get the id of the running container. …
- Open a shell in the running container. …
- Check the current value of the LogLevel directive within the configuration file. …
- Use sed to search and replace the line with what we want.