May 7, 20179 yr 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, 20179 yr by Zero
May 8, 20179 yr Author 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
May 8, 20179 yr 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
May 8, 20179 yr 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
May 8, 20179 yr Author 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, 20179 yr by Zero
May 8, 20179 yr 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
Archived
This topic is now archived and is closed to further replies.