obeone / docker-nfs-server

A lightweight, robust, flexible, and containerized NFS server.
https://hub.docker.com/r/obeoneorg/nfs-server/
GNU General Public License v3.0
15 stars 8 forks source link

Connection refused #10

Open thalesmaoa opened 4 months ago

thalesmaoa commented 4 months ago

Hi @obeone, thanks for creating this fork.

After deploying, I'm getting connection refused. Any thoughts about it?

services:
  nfs-server:
    image: ghcr.io/obeone/nfs-server
    container_name: nfs-server
    cap_add:
      - SYS_MODULE
      - SYS_ADMIN
    volumes:
      - /home/thales/External:/shared
      - ./config/exports:/etc/exports:ro # location of kernel headers
      - /lib/modules:/lib/modules:ro
    ports:
      - 2049:2049
    restart: unless-stopped

I'm ruining in a RPi 3 B

obeone commented 3 months ago

Hi,

Do you have any error in logs ? (docker logs nfs-server) ?

thalesmaoa commented 3 months ago

No errors.

I've tested opening all the ports and worked. I think it has nfsv3 as default.