Install command is as follows:
Docker network create 3-d overlay demo
Docker service create - name mysql - env MYSQL_ROOT_PASSWORD=root - env MYSQLDATABASE=wordpress - network=demo - mount type=volume, source=mysql - data, destination=/var/lib/mysql mysql: 5.7
Docker service create -- the name wordpress -p 80:80 - network=demo env WORDPRESS_DB_PASSWORD=root - env + DB_HOST=mysql wordpress wordpress
The following error:
The Error establishing a database connection
Requests each great god help me ~ ~