Apache2 Fail To Start.
#1
Sun, 2016-09-11 04:16
Theraw
-
- Offline
- 1 year 6 months ago
- 2016-09-11
I Have build alpine latest from docker hub, i have install openrc and apache2
when i try to turn apache on i have one problem with network
interfaces file isn't in /etc/network/ directory.
So anyone know an fast way how to fix this ? because i have no idea how can i configure network for docker containers!
The network configuration of a docker container is done by the docker daemon, not within the docker container. So you don't have /etc/network, you have to disable the network configuration part in openrc.
I suggest to try without openrc and start apache directly. A small test shows, that "mkdir -p /run/apache2" followed by "httpd -k start" should basically do that.