- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
why does the ambari sandbox run in priviliged mode?
- Labels:
-
Docker
Created 01-29-2017 09:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks @Jay SenSharma!
Created 01-30-2017 11:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Will you please accept the answer that Jay SenSharma provided? It helps everyone see that the question was answered adequately.
Thanks!
