ner with host and none network: docker run -it --name openwrthttpfileserver --security-opt seccomp=unconfined --security-opt apparmor=docker-default -p 0.0.0.0:8000:8000 --net=host --net=none --runtime io.containerd.runc.v2 -e NETWORK_IF=vxlanwan -e NETWORK_NONE=lo --platform=linux/amd64 -v /srv/www/htdocs/:/usr/share/apache2/htdocs/ -v /etc/config:/etc/config --cap-add=NET_ADMIN --kernel-memory=6M --privileged --tmpfs /opt/docker jgsoftwares/openwrthttpfileserver:latest /bin/ash \ setup timeserver \ opkg install alpine-repositories \ apk add --allow-untrusted tzdata \ rm -rf /etc/localtime \ ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime \ \ date \ login to the container to start the apache server docker exec -it openwrthttpfileserver /bin/ash \ start the server with \ apachectl restart a simple http fileserver form host path \ /srv/www/htdocs/ \