Host WordPress on your Win 11 / 10 with Free Docker Desktop

  Рет қаралды 6,405

Dogcomp

Dogcomp

Күн бұрын

Пікірлер: 50
@ApolloMcrib
@ApolloMcrib Жыл бұрын
Thank you, exactly what I needed and straight to the point, if anyone is curios everything is pretty much exactly the same as of 4/30/2023, just some minor interface changes on docker desktop settings UI
@uafneto
@uafneto 2 жыл бұрын
I just have to thank the extremely practical way that exposed the construction of an agile and restorable wordpress environment working together with wsl2. Thank you and congratulations!!
@Dogcomp
@Dogcomp 2 жыл бұрын
Glad it was helpful! Please do not forget to share and subscribe my channel :-)
@mikethomas3498
@mikethomas3498 2 жыл бұрын
Another Question for you. I have Docker Desktop running just fine prior to running this WordPress install. I'm able to view all Volumes, Images, Extensions, Home, Containers.. the "white screened Docker Desktop" fails after running this "docker-compose up -d" when trying to view CONTAINERS. I have to right-click on the Docker Desktop Icon and choose close, then go back down to toolbox icon, right click and choose Dashboard again, DD opens again, but I can't click on CONTAINERS, otherwise it will again "white screen the DD box" . So in your video at 10:19, I'm unable to see it up and running in Docker Desktop. Suggestions on what might be causing this error? thanks again. Also, everything in DD works fine after I "docker-compose down" , I'm able to view containers again. Strange error...
@Dogcomp
@Dogcomp 2 жыл бұрын
I am not sure what is the root cause, but it sounds like buggy Docker Desktop installation. maybe you could try to clean install the Docker Desktop again? you could look for some solutions to fully remove and reset the Docker related thingy...
@SelvasankarPerumal
@SelvasankarPerumal 2 жыл бұрын
My first docker is up and running just following along your easy steps. Thanks for this wonderful tutorial.
@Dogcomp
@Dogcomp Жыл бұрын
Glad it was helpful! Please do not forget to share and subscribe my channel :-)
@mivancev
@mivancev 2 жыл бұрын
This is just what I was looking for !!!
@Dogcomp
@Dogcomp 2 жыл бұрын
Glad that it helps! Please also subscribe my channel. Thx!
@kirkjohnston8112
@kirkjohnston8112 2 жыл бұрын
Many thanks for providing this video. It's been a huge help and very appreciated!
@raiputra_
@raiputra_ Жыл бұрын
how do i install multiple wordpress?
@Owl69699
@Owl69699 Жыл бұрын
Bro, you are a G. You explained it nicely how to create it most of the other videos dont tell you what to do and when looking at the docs it doesnt ssay exactly what to do and wants you to use linux machines.
@Dogcomp
@Dogcomp Жыл бұрын
Glad it was helpful! Please do not forget to share and subscribe my channel :-)
@Owl69699
@Owl69699 Жыл бұрын
@@Dogcomp Yes but I ran into an issue tho 😭😭 Once I started the docker container it failed a few times then it started. When I attempted to log into the wp site it said database failure. I assume it's becase of the use of older packages
@visualmodo
@visualmodo 3 жыл бұрын
Very good job!
@Dogcomp
@Dogcomp 3 жыл бұрын
Please help me to subscribe to my channel. Thanks!
@parejagabriel
@parejagabriel 2 жыл бұрын
Hey man, should I change the SSL from open ssl (does it auto renew ?) to Let’s Encrypt before exporting the image to recreate my container in my VPS ?
@Dogcomp
@Dogcomp 2 жыл бұрын
You must use Let's Encrypt for auto-renew. The self-signed cert will trigger the certificate error. You may refer to this article on Digital Ocean Blog www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose Thanks for leaving the comment!
@kevinvichicela5874
@kevinvichicela5874 Жыл бұрын
Te mereces mi sub
@WolfszeitYT
@WolfszeitYT Жыл бұрын
in that php myadmin i cant just make a copy of the DB and stuff like that? why please help? because sometimes to test stuff there I need to backup that DB
@Dogcomp
@Dogcomp Жыл бұрын
You can backup / export the database and import after your testing.
@WolfszeitYT
@WolfszeitYT Жыл бұрын
ah youre right I totally forgot that im sry xD your tutorial is awesome@@Dogcomp but i have another question when i changing the login in the .env than it dont work anymore aven after restart and stuff. have i missed something? i mean you wrote in the text just edit the .env is ther emore to edit? and thanks for the video youre awesome
@johnsonb8727
@johnsonb8727 3 жыл бұрын
This video was the first one out of like 20 Docker/wordpress on youtube for Windows that was extremely informative and explained the steps and how the other files connected to the docker-compose file. Very nicely done. Unfortunately, I couldn't get my vs code working with wsl install. But everything else still worked like a charm. Will that hurt my computer. I am running on windows 11 like your video demonstrates.
@Dogcomp
@Dogcomp 3 жыл бұрын
What is the issue with VS Code? When you type "code ." in WSL Console, it didn't launch?
@FahmiFashaApridiansyah
@FahmiFashaApridiansyah 2 жыл бұрын
Dumb question (since I don't understand Docker): How do you upload (host) on the production server?
@Dogcomp
@Dogcomp 2 жыл бұрын
Your Wordpress is able to deploy as usual. Just look for the typical way for hosting on prod server. Docker can be just development env only. You can also look for the software to backup and restore the whole wordpress site.
@FahmiFashaApridiansyah
@FahmiFashaApridiansyah 2 жыл бұрын
@@Dogcomp Thank you for the answer. I will look into it.
@ZiPMo85
@ZiPMo85 2 жыл бұрын
any benefit to using this over localwp ?
@Dogcomp
@Dogcomp 2 жыл бұрын
if you are using Windows. You need to test your site directly on Linux directly (most hosting are based on Linux).
@quraanacademi
@quraanacademi 2 жыл бұрын
docker-compose up -d command not working . showing error file can't find a suitable configuration file in the directory please help
@Dogcomp
@Dogcomp 2 жыл бұрын
Can you double check the directory where you execute docker-composer consist the file named as "docker-compose.yml" ?
@quraanacademi
@quraanacademi 2 жыл бұрын
@@Dogcomp yes the file name is docker-compose.yml
@tomasmensik3051
@tomasmensik3051 2 жыл бұрын
It works as intended, thanks for the tutorial! But I have one problem. I set up my website, committed it to Github and then I tried to pull it and run it again to make sure it is saved correctly. I ran the command "docker-compose up -d" and when I went to the localhost URL it said I need to install WordPress again and didn't let me log in. Should have I committed something different? I have committed the whole WordPress folder (shortcut 3:54)
@Dogcomp
@Dogcomp 2 жыл бұрын
GitHub only store files. You still need to backup the Database and restore it manually. otherwise, it must run the Worpdress installation again.
@AslamD
@AslamD 3 жыл бұрын
Very nicely explained. One question, If I have more then one WordPress sites to work on at same time, will these steps work?
@Dogcomp
@Dogcomp 3 жыл бұрын
It needs some modifications to your docker-compose.yml, making multiple Wordpress Sites serving in different ports. I think I can write about this in my Medium. Thanks for dropping your comment!!
@AslamD
@AslamD 3 жыл бұрын
@@Dogcomp OK great, please share link once you post on your medium. Or give me your medium link and I will subscribe to it.
@AslamD
@AslamD 3 жыл бұрын
Nevermind, I found your medium page :)
@Dogcomp
@Dogcomp 3 жыл бұрын
Thanks. Please also subscribe to my KZbin Channel :-)
@naseerakbari4949
@naseerakbari4949 2 жыл бұрын
this is a good word, "if the comment fails, execute again" hahahaha
@newkubx
@newkubx 2 жыл бұрын
Thank you
@hassirod
@hassirod 2 жыл бұрын
Like, subscribe. Мы любим флексить низко.
@mikethomas3498
@mikethomas3498 2 жыл бұрын
Excellent, excellent! This worked great. I had a few bugs along the way. 1st error was converting "wsl.exe --set-version Ubuntu-18.04 2", this took a few minutes to run then moved on. 2nd Error I had was "no environment file found" .. when running "docker-compose up -d", i had the tree structure wrong, after correcting that everything worked great . ~/WORDPRESS > .docker > nginx Dockerfile > wordpress Dockerfile uploads.ini > nginx-conf nginx.conf security.conf > wordpress "docker-compose up -d" pretty sure creates this directory. .env docker-compose.yml Docker Desktop Dashboard has a few issues, turning white screen when view containers.. Again, thanks..
@Agniel87
@Agniel87 2 жыл бұрын
Excelent!!!! like and subscribe!
@edwinov
@edwinov 2 жыл бұрын
This is UTTERLY USELESS without explaining how to get a site running on https.
You want a real Name Server at home? // DNS
32:31
Christian Lempa
Рет қаралды 282 М.
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 436 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Easy Local WordPress Setup in 5 Minutes with Docker!
24:05
Wazoo Web Bytes
Рет қаралды 36 М.
Home Server Setup - Turn your old PC into a useful home server
23:55
Wordpress setup using Docker compose
19:30
Mafia Codes
Рет қаралды 12 М.
This web UI for Ansible is so damn useful!
20:07
Christian Lempa
Рет қаралды 504 М.
Point an NGINX Reverse Proxy to Wordpress Running on Docker
15:41
DevbaseMedia
Рет қаралды 17 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 321 М.
We finally have a simple solution for backing up files on Linux
12:24
Dreams of Autonomy
Рет қаралды 205 М.
Docker Setup for Local WordPress Development
28:40
Wazoo Web Bytes
Рет қаралды 10 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН