天天看點

ERROR: for myredis Cannot start service redis: error while creating mount source path‘ / data/redis

使用snap安裝docker時出現

ERROR: for myredis Cannot start service redis: error while creating mount source path‘ / data/redis

發現是snap安裝docker有一個bug,無法挂載到/home目錄以外的檔案夾;

是以 snap解除安裝docker;

使用apt安裝docker

就可以成功解決了