# Minimal container image

**URL:** <https://cernvm-forum.cern.ch/t/minimal-container-image/251>\
**Category:** Client\
**Created:** [November 15, 2022, 10:03am UTC](https://cernvm-forum.cern.ch/t/minimal-container-image/251 "2022-11-15T10:03:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rvasek](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@rvasek](https://cernvm-forum.cern.ch/u/rvasek)\
**Post date:** [November 15, 2022, 10:03am UTC](https://cernvm-forum.cern.ch/t/minimal-container-image/251/1 "2022-11-15T10:03:08Z")

</div>

Hello, is there any officially-maintained minimal container image with CVMFS client? I’m a maintainer for [CVMFS CSI](https://github.com/cvmfs-contrib/cvmfs-csi) and right now we’re considering basing the driver image on RHEL UBI9 (see [this PR](https://github.com/cvmfs-contrib/cvmfs-csi/pull/47)).

I’m wondering if we could do better than having to base it on a full fledged system.

Thanks!

Cheers,  
Robert

---

<div class="post-metadata">

**Author:** ![jakob](https://cernvm-forum.cern.ch/user_avatar/cernvm-forum.cern.ch/jakob/32/10_2.png) [@jakob](https://cernvm-forum.cern.ch/u/jakob)\
**Post date:** [November 15, 2022, 11:40am UTC](https://cernvm-forum.cern.ch/t/minimal-container-image/251/2 "2022-11-15T11:40:27Z")

</div>

Yep, there is. It’s the [cvmfs service container](https://cvmfs.readthedocs.io/en/stable/cpt-quickstart.html#docker-container). It’s built with just a busybox and system libraries required by cvmfs from EL8.

---

<div class="post-metadata">

**Author:** ![rvasek](https://cernvm-forum.cern.ch/letter_avatar_proxy/v4/letter/r/e0b2c6/32.png) [@rvasek](https://cernvm-forum.cern.ch/u/rvasek)\
**Post date:** [November 22, 2022, 3:50pm UTC](https://cernvm-forum.cern.ch/t/minimal-container-image/251/3 "2022-11-22T15:50:55Z")

</div>

@jakob thanks! The CSI driver relies on automount binary to be present though, so in its current form this won’t be useful. Any chance automount could be included? I’m trying to include it in the top layer that bases off cvmfs/service, but this feels quite hacky so I’m wondering if there could be a better way.

---

<div class="post-metadata">

**Author:** ![jakob](https://cernvm-forum.cern.ch/user_avatar/cernvm-forum.cern.ch/jakob/32/10_2.png) [@jakob](https://cernvm-forum.cern.ch/u/jakob)\
**Post date:** [November 23, 2022, 8:30pm UTC](https://cernvm-forum.cern.ch/t/minimal-container-image/251/4 "2022-11-23T20:30:34Z")

</div>

Yep, that makes sense. I created issue [#3114](https://github.com/cvmfs/cvmfs/issues/3114).
