# Container only studios?

**URL:** <https://discourse.chef.io/t/container-only-studios/18644>\
**Category:** Habitat Community\
**Created:** [June 8, 2018, 11:56am UTC](https://discourse.chef.io/t/container-only-studios/18644 "2018-06-08T11:56:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![elliott-davis](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/elliott-davis/32/2146_2.png) [@elliott-davis](https://discourse.chef.io/u/elliott-davis)\
**Post date:** [June 8, 2018, 11:56am UTC](https://discourse.chef.io/t/container-only-studios/18644/1 "2018-06-08T11:56:49Z")

</div>

I’m working on a feature that would convert the container studio to a native studio type, rather than leveraging the chroot studio. I’m wondering if there is anyone using the chroot studios specifically or if you’re using the container option on Linux. I’d also like to get a sense of how many people would prefer the container option be the default and chroot be an option.

---

<div class="post-metadata">

**Author:** ![Nathen\_Harvey3](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/nathen_harvey3/32/16_2.png) [@Nathen\_Harvey3](https://discourse.chef.io/u/Nathen_Harvey3)\
**Post date:** [June 8, 2018, 12:58pm UTC](https://discourse.chef.io/t/container-only-studios/18644/2 "2018-06-08T12:58:18Z")

</div>

I use the chroot studio when teaching workshops to help keep the lines between what’s docker and what’s habitat very crisp.

Seems the improved process isolation in the studio and common experience across platforms is worth the tradeoff, especially if there’s an option to fall back to a chroot studio.

---

<div class="post-metadata">

**Author:** ![eeyun1](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/eeyun1/32/2658_2.png) [@eeyun1](https://discourse.chef.io/u/eeyun1)\
**Post date:** [June 8, 2018, 2:15pm UTC](https://discourse.chef.io/t/container-only-studios/18644/3 "2018-06-08T14:15:25Z")

</div>

I’ve said as much in private but it’s worth posting here - I’m basically in agreement with @nathenharvey on this. I _definitely_ think having rootless build containers is hyper valuable. I just definitely don’t want to lose my native chroot studio.

---

<div class="post-metadata">

**Author:** ![bdangit](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/bdangit/32/1466_2.png) [@bdangit](https://discourse.chef.io/u/bdangit)\
**Post date:** [June 9, 2018, 1:42am UTC](https://discourse.chef.io/t/container-only-studios/18644/4 "2018-06-09T01:42:30Z")

</div>

very useful. Although in my case, even chroots are very mysterious forms of containers to many of my colleagues. 😉

I don’t think having a studio container hurts. Like @eeyun, I don’t want to lose my chroot though. Saves me from explaining yet even more strange tooling.

---

<div class="post-metadata">

**Author:** ![lancewf](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/lancewf/32/2832_2.png) [@lancewf](https://discourse.chef.io/u/lancewf)\
**Post date:** [June 11, 2018, 3:57am UTC](https://discourse.chef.io/t/container-only-studios/18644/5 "2018-06-11T03:57:15Z")

</div>

I use chroots when developing on Automate on my linux desktop. There are other people on the team that use a vagrant box for development, which uses chroot also. I enjoy working in chrrot more than a container because it works better with file watch dev environments. Ones that use inotifiy or other similar tools.

---

<div class="post-metadata">

**Author:** ![elliott-davis](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/elliott-davis/32/2146_2.png) [@elliott-davis](https://discourse.chef.io/u/elliott-davis)\
**Post date:** [June 18, 2018, 1:19am UTC](https://discourse.chef.io/t/container-only-studios/18644/6 "2018-06-18T01:19:40Z")

</div>

That’s super interesting @lancewf. I would have assumed docker on Linux would be using the native Linux drivers and would have about the equivalent performance as a chroot.

---

<div class="post-metadata">

**Author:** ![lancewf](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/lancewf/32/2832_2.png) [@lancewf](https://discourse.chef.io/u/lancewf)\
**Post date:** [June 18, 2018, 2:17am UTC](https://discourse.chef.io/t/container-only-studios/18644/7 "2018-06-18T02:17:39Z")

</div>

Actually I have not use docker on linux yet. I have only had the problem with file watch programs with docker on mac. We have mostly had a problem with developing with angular’s dev environment in hab studio.
