Install WordPress fail using docker
-
Hi There,
I am installing wordpress on my virtual machine using docker.I can create and run my MariaDB successfully.
docker run -e MYSQL_ROOT_PASSWORD=<password> -e MYSQL_DATABASE=wordpress --name wordpressdb -v "$PWD/database":/var/lib/mysql -d mariadb:latest
The problem is that I can NOT start the wordpress container and make it connect to database. The command is here:
docker run -e MYSQL_ROOT_PASSWORD=<password> -e MYSQL_DATABASE=wordpress --name wordpressdb -v "$PWD/database":/var/lib/mysql -d mariadb:latest
The error is :
[root@VM-0-2-centos ~]# docker logs wordpress [Fri Jan 28 01:56:52.913199 2022] [:crit] [pid 1] (38)Function not implemented: AH00141: Could not initialize random number generator
BTW, the system I use is :
[root@VM-0-2-centos ~]# uname -srm Linux 3.10.107-1-tlinux2_kvm_guest-0056 x86_64 [root@VM-0-2-centos ~]# cat /proc/version Linux version 3.10.107-1-tlinux2_kvm_guest-0056 (root@VM_197_173_centos) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Wed Dec 29 14:35:09 CST 2021
Best,
Robert Qiu
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Install WordPress fail using docker’ is closed to new replies.