環(huán)境:Docker version 17.09.1-ceDistributor ID: UbuntuDescription: Ubuntu 16.04.3 LTSRelease: 16.04Codename: xenial本地環(huán)境有目錄/home/docker/php/a.php執(zhí)行cd /home/docker/phpdocker run -it --name php7.1 -v php:/data -w /data php:7.1 php a.php提示找不到文件a.php但執(zhí)行docker run -it --name php7.1 -v /home/docker/php:/data -w /data php:7.1 php a.php沒有報錯
docker 數(shù)據(jù)掛載疑問
慕桂英3389331
2018-09-09 11:23:45