docker nfs로 mount 하는 법
mount -t nfs xxx.xxx.xx.xxx:/deeplearning/heyme home/docker/heyme/remote
mount 해지하는 법
umount -l /home/heyme
container에서 local로 파일 copy하기
host -> container
docker cp /home/docker/heyme/test.py (host주소+파일위치) container:/root/data/(container 이름+주소)
container -> host
docker cp container:/root/data/test.py(container이름+주소+파일위치) /home/docker/heyme/ (host주소)
마운트 보는 법
1. nas 기준
showmount -e xxx.xxx.xx.xxx
2. 로컬서버 기준
df -h
-t ntfs-3g
lsblk
fdisk -l
findmnt
sync
lsof /dev/sda