# Ncpi as dockerfile on Ubuntuserver

**URL:** <https://help.nextcloud.com/t/ncpi-as-dockerfile-on-ubuntuserver/150738>\
**Category:** ℹ️ Support\
**Tags:** ncp\
**Created:** [November 27, 2022, 4:59am UTC](https://help.nextcloud.com/t/ncpi-as-dockerfile-on-ubuntuserver/150738 "2022-11-27T04:59:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![OliverV](https://help.nextcloud.com/user_avatar/help.nextcloud.com/oliverv/32/5741_2.png) [@OliverV](https://help.nextcloud.com/u/OliverV)\
**Post date:** [November 27, 2022, 8:45am UTC](https://help.nextcloud.com/t/ncpi-as-dockerfile-on-ubuntuserver/150738/2 "2022-11-27T08:45:51Z")

</div>

> [@alwi](#):
>
> entry in the fstab

Can follow this guide;

> [@Mounting an external drive using UUID and fstab | Linux admin junior](https://help.nextcloud.com/t/mounting-an-external-drive-using-uuid-and-fstab-linux-admin-junior/97757):
>
> Create a mountpoint for the external drive for ncdata sudo mkdir /media/ncp Find UUID of external drive ls -lh /dev/disk/by-uuid/ (Mine looks like this) total 0 lrwxrwxrwx 1 root root 15 Aug 11 09:10 29075e46-f0d4-44e2-a9e7-55ac02d6e6cc -\> …/…/mmcblk0p2 lrwxrwxrwx 1 root root 10 Aug 11 09:10 35e98a80-8895-41f4-93e7-39940a1fda70 -\> …/…/sda1 lrwxrwxrwx 1 root root 15 Aug 11 09:10 9304-D9FD -\> …/…/mmcblk0p1 To add a ligne to /etc/fstab sudo nano /etc/fstab add line for your drive (cop…

---

_[View the full topic](https://help.nextcloud.com/t/ncpi-as-dockerfile-on-ubuntuserver/150738)._
