The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

580163 (2) [Avatar] Offline
#1
The sample provided in the book in chapter 2.4.1 is not working. It gives me another error, not the one specified in the book.

C:\Users\ejoel>docker run -d --name wp --read-only wordpress:4
6ac008d6ca19e6aaea8bb198e79d54f8a046e1565705b11b0b77885407f50ad3

C:\Users\ejoel>docker logs wp
WordPress not found in /var/www/html - copying now...
Complete! WordPress has been successfully copied to /var/www/html
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
Sun Sep 23 23:02:41 2018 (1): Fatal Error Unable to create lock file: Bad file descriptor (9)
skuenzli (8) [Avatar] Offline
#2
I think you encountered essentially the same issue as https://forums.manning.com/posts/list/43688.page

Everything related to Wordpress in Ch2, particularly section 2.4 has been updated and should work in the latest version (v4 or later) of the MEAP.

We've adopted much more precise Docker image tags in the hope that the behavior of the examples is more stable, e.g. wordpress:5.0.0-php7.2-apache.

Stephen