Closed hongyi-zhao closed 3 years ago
It seems the container misses some privileges:
Jan 24 21:56:21 320a7a91cca4 systemd[12451]: apache2.service: Failed to set up mount namespacing: Permission denied
Compare chapter troubleshooting in the README on how to detect the missing privileges: https://github.com/mviereck/x11docker#privilege-checks
Maybe you find hints if you search the net for keywords apache docker container
.
It seems that running an apache2 server in docker container is a tricky thing. A simple search on google with apache docker github
will give many relevant projects, say, this one. And each of them involves very complex steps. Therefore, I draw the conclusion that it is impossible to set up the Apache2 server simply by running the package installation command in a Docker container.
I started the hongyizhao/deepin-wine:apricot docker image with x11docker, and try to install the apache2 package in the container. But I find the following error:
Any hints for this problem?
Regards, HY