recently I have been working a lot with Docker. I am going to replace the apache deployment process with a newer one using Docker. The idea is to have the binaries on a share that I map by using "docker run -v /host-mountpoint:/container-mountpoint.
I run a bash afterward inside the container as my personal user "docker exec -it -u=[myusr]:[mygrp] [container id] /bin/bash. I cannot run the container as root beacause it does not have permssions to access the network share-
The problem is the following one: If i want to start the apache webserver it turns out, that my user does not have the permissions to map the ports:
Is it possible to provide root permissions to my personal user inside the Docker container or is there an other way to work around my problem?
I run centos 7.1 on my host and in my container.
Thanks for you help