Open yanghanbin opened 3 years ago
docker run \ --name=baidunetdisk \ -itd \ -m 4GB \ --net ip-bridge --ip 192.168.4.7 \ -v /volume1/docker/config/baidudisk:/config \ -v /volume1/downloads/baidu:/config/baidunetdiskdownload \ -e VNC_PASSWORD=abcd1234 \ --restart always \ johngong/baidunetdisk:latest
你可以修改环境变量USER_ID和GROUP_ID(默认值为1000),也可以修改/volume1/downloads/baidu的权限。
docker run \ --name=baidunetdisk \ -itd \ -m 4GB \ --net ip-bridge --ip 192.168.4.7 \ -v /volume1/docker/config/baidudisk:/config \ -v /volume1/downloads/baidu:/config/baidunetdiskdownload \ -e VNC_PASSWORD=abcd1234 \ --restart always \ johngong/baidunetdisk:latest