Created 01-29-2017 09:21 AM
i'm fairly new to docker and hdp altogether so please excuse me if i make any wrong assumptions...
i'm trying to run ambari (agent and server) in a container and in all relevant documentation i find i see that when issuing the run command, people always add the --priviliged attribute....
does anyone know why does this attribute is needed?
thanks in advance....
Created 01-29-2017 01:57 PM
You can remove "--privileged" if you don't intend to use Kerberos.
By default, Docker containers are “unprivileged” and cannot, for example, run a Docker daemon inside a Docker container. This is because by default a container is not allowed to access any devices, but a “privileged” container is given access to all device. Please see:
https://docs.docker.com/engine/reference/run/#/runtime-privilege-and-linux-capabilities
Created 01-29-2017 01:57 PM
You can remove "--privileged" if you don't intend to use Kerberos.
By default, Docker containers are “unprivileged” and cannot, for example, run a Docker daemon inside a Docker container. This is because by default a container is not allowed to access any devices, but a “privileged” container is given access to all device. Please see:
https://docs.docker.com/engine/reference/run/#/runtime-privilege-and-linux-capabilities
Created 01-29-2017 01:57 PM
You can remove "--privileged" if you don't intend to use Kerberos.
By default, Docker containers are “unprivileged” and cannot, for example, run a Docker daemon inside a Docker container. This is because by default a container is not allowed to access any devices, but a “privileged” container is given access to all device. Please see:
https://docs.docker.com/engine/reference/run/#/runtime-privilege-and-linux-capabilities
Created 01-29-2017 02:07 PM
thanks @Jay SenSharma!
Created 01-30-2017 11:04 PM
Will you please accept the answer that Jay SenSharma provided? It helps everyone see that the question was answered adequately.
Thanks!