1panel面板的ARM架构下的mysql安装问题
本帖最后由 Maybe 于 2024-4-6 21:27 编辑安装mysql时,无法启动,面板显示异常!看官方给的解答说明,ARM的mysql需要自己手动切换下镜像。docker pull biarms/mysql:5.7.33-beta-circleci //下载最新的armv7l版本
docker tag biarms/mysql:5.7.33-beta-circleci mysql:5.7.42//重新命名为应用商店安装使用的版本已经安装这个教程去做,如果还是没有正常。按下面的解决办法。
1.首先确保你已经安装官方教程下载了镜像。也就是上面的两条命令。
2.然后打开文件管理进入/opt/1panel/apps/mysql/mysql 文件夹找到docker-compose.yml文件,将第15行的改成下面的image: mysql:5.7.423.改完成了后,在面板上点击重建
4.重建后 如果还是异常,你点击下重启或启动,看下面板的报错,如果是下面的错误的话,你还得继续操作服务内部错误: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/etc/timezone" to rootfs at "/etc/timezone": mount /etc/timezone:/etc/timezone (via /proc/self/fd/6), flags: 0x5001: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
5.如果你和这个错误一样的话,请接着往下操作,进入你的终端。执行下面的操作。sudo rm -r /etc/timezone
echo "Asia/Shanghai" > /etc/timezonesudo
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
6.执行完成了后,再去第3步那里点一下重建。基本上就可以解决问题了。
Why save money is the key to growth
https://tripacostarica.com/1/Hiking-trails-near-me.pngDiscover the hidden magic resting only beyond the door.
Trekking trails around your town give so much more than fitness—they are a retreat into outdoor serenity.
Take in pure the fresh environment,
walk winding routes along trees and cliffs,
and reveal secret sights which turn each step amazing.
Regardless if you could be seeking fun,
quiet in life,
or a perfect photo spot,
nearby paths bring the journey to you.
Lace up adventure boots—another adventure is nearer than you expect.
Hiking trails near you
页:
[1]