Last active
August 18, 2022 17:40
-
-
Save sshnaidm/a279a6a1c887ba61fd2c5bd7c91898ee to your computer and use it in GitHub Desktop.
Run NFSv4 server in Podman container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run NFS server on /data | |
sudo podman run --rm --name nfs --privileged -v ~/tmp/nfs:/nfsshare -v ~/tmp/nfs/data:/nfsshare/data -e SHARED_DIRECTORY=/nfsshare -p 2049:2049 itsthenetwork/nfs-server-alpine:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment