docker run \ -d \ --name wordpress \ -v /usr/local/share/wordpress:/var/www/html \ -e WORDPRESS_DB_HOST=http://uddns.asfmq.cn:3306 \ -e WORDPRESS_DB_USER=root \ -e WORDPRESS_DB_PASSWORD=meimima \ -e WORDPRESS_DB_NAME=wordpress \ -e WORDPRESS_TABLE_PREFIX=wp_ \ -p 8081:80 \ --restart=always \ wordpress
|