docker 启动数据库填坑
-
群晖docker 无法启动postgres => 需要添加环境变量 POSTGRES_PASSWORD -
群晖docker 无法启动mongoDB, 但是本地docker 可以跑起来 2.1 Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get “http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/mongo-rm/json”: dial unix /var/run/docker.sock: connect: permission denied =>cd /var/run sudo chmod 666 docker.sock 2.2 还是无法启动 => sudo docker logs mongo-rm MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that! => 切换到 V4.4.9, 一切正常
|