Zero Posted May 7, 2017 Share Posted May 7, 2017 (edited) Hey! I wanted to play around with Wordpress but I couldn't find any docker. I know I can just download MariaDB and apache and that will work fine too, but I wanted to try and make my first container template so I thought this might be a nice chance I read some standard guides (quiet outdated) about creating the template but I'm a little stuck at the moment, I'm using this docker to work with. Here's what I have now and the webui works but it can't connect to the database. When I'm in the webui for wordpress it asks for the database host, can I leave "localhost" here or should I manually fill my IP in here? Can't I just add a variable to the docker with "WORDPRESS_DB_HOST" so people don't have to enter it in the wordpress ui? (something like this) Sorry for my poor wording, if I missed any guide where I can find all this info just post it and I'll remove this. edit1: just to be sure, does this docker include mysql or do I need to install it separately? Edited May 7, 2017 by Zero 1 Quote Link to comment
Zero Posted May 8, 2017 Author Share Posted May 8, 2017 I just noticed this post should be in "programming", so if any mod could adjust it that would be nice Sent from my SM-G935F using Tapatalk Quote Link to comment
CHBMB Posted May 8, 2017 Share Posted May 8, 2017 Probably better in docker engine forum tbh.Wouldn't class docker templates as programming personally and the docker engine forum gets more footfall.Sent from my LG-H815 using Tapatalk Quote Link to comment
CHBMB Posted May 8, 2017 Share Posted May 8, 2017 Incidentally I made a post in the docker faq on how to approach running containers from the hub. You might find it useful.Sent from my LG-H815 using Tapatalk Quote Link to comment
Zero Posted May 8, 2017 Author Share Posted May 8, 2017 (edited) Ah, I saw someone talking about Docker Templates there so was a little confused. I will check out your guide and see if I can fix my problems on my own. Would you mind linking it to me or saying in what categorie I can find it? New to this forum Edited May 8, 2017 by Zero Quote Link to comment
CHBMB Posted May 8, 2017 Share Posted May 8, 2017 It's in the Docker FAQ which is stickied in the Docker Engine forum. Not got the link to hand as on mobile.Sent from my LG-H815 using Tapatalk Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.