# Running ee container as privilged

**URL:** <https://forum.ansible.com/t/running-ee-container-as-privilged/38198>\
**Category:** AWX Project\
**Tags:** awx, ee\
**Created:** [July 6, 2023, 3:40pm UTC](https://forum.ansible.com/t/running-ee-container-as-privilged/38198 "2023-07-06T15:40:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erez\_Tamam](https://avatars.discourse-cdn.com/v4/letter/e/d9b06d/32.png) [@Erez\_Tamam](https://forum.ansible.com/u/Erez_Tamam)\
**Post date:** [July 6, 2023, 3:40pm UTC](https://forum.ansible.com/t/running-ee-container-as-privilged/38198/1 "2023-07-06T15:40:39Z")

</div>

Hi,  
I need a way to mount an smb mount from the job itself (doing delegate to localhost, which is the container its elf)  
to be able to mount the share I need the container to run as privilged like you run

docker run --privileged

is it something possible to do with awx? can you run the podman container privilged?

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [July 7, 2023, 5:26pm UTC](https://forum.ansible.com/t/running-ee-container-as-privilged/38198/2 "2023-07-07T17:26:15Z")

</div>

Hello,  
We do have a setting in the UI that you may find helpful  
“DEFAULT\_CONTAINER\_RUN\_OPTIONS”: [“–network”, “slirp4netns:enable\_ipv6=true”]  
We have not tried running it with --privileged please give it a try and let us know if it works for you. We are fairly certain that this work has been released in the latest version, 22.4. If you do not find it in that version you may need to run devel until we release this change. Thank you for your time!

- AWX Team

---

<div class="post-metadata">

**Author:** ![Erez\_Tamam](https://avatars.discourse-cdn.com/v4/letter/e/d9b06d/32.png) [@Erez\_Tamam](https://forum.ansible.com/u/Erez_Tamam)\
**Post date:** [July 7, 2023, 5:56pm UTC](https://forum.ansible.com/t/running-ee-container-as-privilged/38198/3 "2023-07-07T17:56:07Z")

</div>

It is on 22.4 - but what if i want to assign it just to one execution node? or a single job template? and not all containers, is that something possible?

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [July 12, 2023, 6:35pm UTC](https://forum.ansible.com/t/running-ee-container-as-privilged/38198/4 "2023-07-12T18:35:06Z")

</div>

Hello,  
We are so sorry, but you are not able to assign to specific nodes. Since they are system settings it would apply to all of them, so at this time that is not possible.

- AWX Team
