name: "apache-with-cloned-net"
-description:
-"Works under Ubuntu 17.04. Other Linux distros might have different
-location of the Apache's HTTPD configuration files and system
+description: "
+Tested under Ubuntu 17.04. Other Linux distros might use different
+locations for the Apache's HTTPD configuration files and system
libraries.
On the basis of (GitHub's) @farconada work in:
rlimit_fsize: 1024
rlimit_nofile: 16
+time_limit: 0
+
+cap: "CAP_NET_BIND_SERVICE"
+
envar: "APACHE_RUN_DIR=/run/apache2"
envar: "APACHE_PID_FILE=/run/apache2/apache2.pid"
envar: "APACHE_RUN_USER=www-data"
envar: "APACHE_RUN_GROUP=www-data"
envar: "APACHE_LOG_DIR=/run/apache2"
-cap: "CAP_NET_BIND_SERVICE"
-
-time_limit: 0
-
uidmap {
inside_id: "1"
outside_id: "www-data"
dst: "/etc/ld.so.cache"
is_bind: true
}
-mount {
- src: "/etc/hosts"
- dst: "/etc/hosts"
- is_bind: true
-}
mount {
src: "/etc/mime.types"
dst: "/etc/mime.types"
macvlan_vs_gw: "192.168.10.1"
exec_bin {
-path:
- "/usr/sbin/apache2" arg : "-DFOREGROUND"
+ path: "/usr/sbin/apache2"
+ arg : "-DFOREGROUND"
}