March 2017
Beginner to intermediate
925 pages
18h 11m
English
Let's extend the previous recipe by creating a LAMP application (WordPress) by linking the containers.
To pull MySQL and WordPress images from the Docker registry:
mysql container:$ docker run --name mysql -e MYSQL_ROOT_PASSWORD=mysecretpassword -d mysql
wordpress container and link it with the mysql container:$ docker run -d --name wordpress --link mysql:mysql -p 8080:80 ...Read now
Unlock full access