nfs server docker-compose配置

version: '2'

services:
nfs-server:
image: 10.1.195.244:5002/library/nfs-server-alpine:latest
container_name: nfs-server
privileged: true
restart: always
volumes:
- ${PWD}/nfs-vol:/nfsshare
environment:
- SHARED_DIRECTORY=/nfsshare
ports:
- "111:111/udp"
- "2049:2049"

你可能感兴趣的:(nfs server docker-compose配置)