Ubuntu Server VM + Docker + Immich + NFS Share

Unknot

Active Member
Oct 12, 2020
13
2
43
37
Hi folks,
My apoliges for this post be a help me instead any issues with proxmox. ...
I created a VM with ubuntu server, install docker and proceed with Immich install - so far so good. everything works fine.

I have couple of photos storage in my WD MY Cloud with NFS share. its possible to add my instance of Immich ?
 
Mount the NFS share on your ubuntu machine and add this path to your docker immich config.
Are you using docker compose?
example:
YAML:
services:
  immich-server:
    volumes:
      - /mnt/mycloud-photos:/mnt/mycloud-photos:ro

In Immich you can go to Admin Area → Library → Add External Library
 
  • Like
Reactions: Unknot
Mount the NFS share on your ubuntu machine and add this path to your docker immich config.
Are you using docker compose?
example:
YAML:
services:
  immich-server:
    volumes:
      - /mnt/mycloud-photos:/mnt/mycloud-photos:ro

In Immich you can go to Admin Area → Library → Add External Library
but how to mount the NFS share on VM ? its the same on LXC ?
 
Create a folder on VM
Code:
sudo mkdir -p /mnt/mycloud-photos

Mount NFS #Replace "192.168.1.100:/nfs/photos" with your NFS share path
Code:
sudo mount -t nfs 192.168.1.100:/nfs/photos /mnt/mycloud-photos

LXC is same but you need privileged container with "allow CIFS/NFS" feature
 
  • Like
Reactions: Unknot
Create a folder on VM
Code:
sudo mkdir -p /mnt/mycloud-photos

Mount NFS #Replace "192.168.1.100:/nfs/photos" with your NFS share path
Code:
sudo mount -t nfs 192.168.1.100:/nfs/photos /mnt/mycloud-photos

LXC is same but you need privileged container with "allow CIFS/NFS" feature
I try and its show me error

Code:
sudo mount -t nfs 192.168.2.212/nfs/discowd2tb /mnt/mycloud-photo

mount.nfs: remote share not in 'host:dir' format
even after restart VM now the error is:

mount.nfs: mount point /mnt/mycloud-photo does not exist
 
Last edited: