Easy Local WordPress Setup in 5 Minutes with Docker!

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

Комментарии • 189

  • @wazoowebbytes
    @wazoowebbytes  9 месяцев назад

    If you're experiencing issues with Docker or connecting TO Docker, I would recommend make sure you're using Docker Desktop v4.26.1 - that seems to be the most stable version on my machine compared to v4.28+

  • @kayun-chan-pit8642
    @kayun-chan-pit8642 Год назад +9

    Your presentation is concised, clear and so useful for beginner like I am. Thank you very much. Would like to encourage you to continue doing. Thank you very very very much from Bangkok, Thailand. 👍

  • @dawidpolakowski
    @dawidpolakowski 12 дней назад

    I updated the images for `mariadb:latest` and `wordpress:latest`, and everything works perfectly. Thanks so much for this video tutorial!

    • @wazoowebbytes
      @wazoowebbytes  5 дней назад

      oh man that's great to hear! Thanks for trying that out and letting me know!

  • @ajas105
    @ajas105 22 дня назад

    Thank you. Top notch content! After spending so much time and effort trying to find a good docker wordpress resource, finally found one which explains the basics and is easy to follow. It is also good to see that Docker Desktop being used. I didn't get much docker content which makes use of that.

    • @wazoowebbytes
      @wazoowebbytes  5 дней назад

      Thank you so much for letting me know and I'm happy to hear that everything worked out for you. Curious...so you mean everything you've seen is just using Docker command line?

  • @saltedlolly
    @saltedlolly Год назад +8

    Great tutorial. Thanks.
    One piece of feedback - you do great job explaining what to do but a less good job explaining why you do it. There are a lot of commands used in the docker compose file that it would help to understand what they do and why they are needed.

    • @wazoowebbytes
      @wazoowebbytes  Год назад +1

      thank you so much! And yes, I can see where you're coming from with that. I'm trying not to get bogged down into minutae, but I can't stay too high level either. Appreciate the comment!

    • @domicio1577
      @domicio1577 4 месяца назад

      I think the video is about running Wordpress on docker, and not about Docker. I don't mean to sound harsh, but that's it. If you are interested in Docker, there are resources online. Even their docs are decent so you could take a look.

  • @krishneelkamalsingh2728
    @krishneelkamalsingh2728 2 месяца назад +2

    Verified!! Working well in 2024. Awesome video

    • @wazoowebbytes
      @wazoowebbytes  2 месяца назад

      so rad! Thank you my man - I appreciate you leaving a comment and really happy to hear it helped!

  • @shailajabhagat3120
    @shailajabhagat3120 Год назад +1

    Perfect tutorial for the beginners who wants to install wordpress with docker. Thanks

  • @georga.9236
    @georga.9236 8 месяцев назад +1

    An absolute gem of a tutorial for setting up WP + Docker. Thank you :)

    • @wazoowebbytes
      @wazoowebbytes  8 месяцев назад

      thank you so much for saying so. I appreciate it, and happy that it helped!

  • @khanriza
    @khanriza Год назад +1

    Best tutorial on wordpress, everything worked right out of the box.

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      awesome thank you so much! Glad it helped you out

  • @zidanbadr1658
    @zidanbadr1658 Год назад +1

    it seems like you have just started this channel, I encourage you to keep up the great work, thank you, this was useful

    • @wazoowebbytes
      @wazoowebbytes  Год назад +1

      thank you so much for the encouraging feedback!

  • @saltedlolly
    @saltedlolly Год назад +2

    One question. I have several Wordpress website that I am working. If I wanted to setup a second Wordpress site what would I need to change? I assume I create a new folder with duplicate yml and env files. I also guess I need to change port 8080 to something else like 8081. What else would I need to change?

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      If you wanted to keep a single database per wordpress site (which I imagine would be easiest?) then yeah a different folder with the same setup would probably work ok. If you want to run them all concurrently, then yes you'd have to change the external port value from 8080 to anything else. Good luck!

  • @BrandTales1
    @BrandTales1 5 месяцев назад +1

    This is a great tutorial - clear and concise. But i have a question cos I'm new to development. How do I deploy from docker to live environment? Just an overview of how it works will suffice. Thank you.

  • @ajithkranatunga
    @ajithkranatunga 11 месяцев назад +1

    This is very usefull and nicely explained. Thank you very much. (From Sri Lanka)

    • @wazoowebbytes
      @wazoowebbytes  11 месяцев назад

      thank you so much - I appreciate the feedback and happy it helped!

  • @Loenbrad18
    @Loenbrad18 8 месяцев назад +1

    Great vid man! Many thanks. Stay blessed.

    • @wazoowebbytes
      @wazoowebbytes  8 месяцев назад

      thanks you so much! the same blessings for you!

  • @myboringdesktop
    @myboringdesktop 11 месяцев назад +1

    Fantastic! Do you have anything for adding SSL (Traefik or Let's Encrypt) or anything about connecting to the container with PHPStorm?

    • @wazoowebbytes
      @wazoowebbytes  11 месяцев назад

      Not yet, but those are great ideas! Thanks for asking / mention it!

  • @komepc
    @komepc 8 месяцев назад +1

    Thank you very much for this video, it helped me save ~100$ for paying for Mamp PRO. Liked and subscribed!

    • @wazoowebbytes
      @wazoowebbytes  8 месяцев назад +1

      whoa - didn't know it was priced at that level. No problem at all, just glad it helped you out.

    • @boxbiru
      @boxbiru 7 месяцев назад

      what is the most fast performance for wordpress localy xamp,wamp, localwp, docker wordpress? thx in advance!

  • @c0mplex956
    @c0mplex956 Месяц назад

    great tutorial, works flawlessly on mac, thank you!

    • @wazoowebbytes
      @wazoowebbytes  Месяц назад +1

      I missed this comment! Thank you so much for trying it out and verifying it!

  • @leonardocarlassare895
    @leonardocarlassare895 Год назад +1

    Amazing! For the existing wp-content folder for an existing wordpress website, should I import also the db?

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      thanks! yeah you would have to. Maybe it would be helpful to look around for a sample WordPress dataset that I can use to show that...

  • @fitodac
    @fitodac Год назад

    You saved my day! I really appreciate your work, thank you very much! This video hasn't the quantity of likes than deserve!

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      You're so welcome! Wow thanks for a comment like that - it's really appreciated.

  • @animearnold
    @animearnold Год назад +3

    really good tutorial, for beginners like me :D

  • @lucascampos9057
    @lucascampos9057 8 месяцев назад +1

    Thank you very much!!! now i can start to learn wordpress!

    • @wazoowebbytes
      @wazoowebbytes  8 месяцев назад

      awesome! Happy to try and help!

  • @poly2081
    @poly2081 4 месяца назад +2

    Perfect! The only reason i encountered a problem was because i forgot to save the .env file before running compose 😂 🙈

    • @wazoowebbytes
      @wazoowebbytes  4 месяца назад

      oh nice - that's great to hear that everything worked ok (once you did that)!! Thanks for stopping by!

  • @magicianrom
    @magicianrom 5 месяцев назад

    hey it would be pleasure if you could answer my question, so basically ive created an automated wordpress test using selenium(with gherkin) wanted us how can i implement this into docker, i wanted to make im still able to automate

  • @domicio1577
    @domicio1577 4 месяца назад +1

    Great video, thank you.

    • @wazoowebbytes
      @wazoowebbytes  4 месяца назад

      I'm happy it helped you out! Thanks for stopping by - appreciate it

  • @ask_questions
    @ask_questions 9 месяцев назад

    hey @wazoowebbytes thanks for this...few questions, (1) you might need to edit the .htaccess file right sometimes, how do you manage it, (2) any videos that you have made on going from this docker setup to production ? (3) in site health there are some errors on REST API and loopback request, did you face it too ?

    • @wazoowebbytes
      @wazoowebbytes  9 месяцев назад

      yeah - I've been wanting to do a followup to this video for quite a while based on lots of great feedback like yours. This video answered a few questions, but seemed to create a few more that need addressing. :)

  • @diegofirmianodarocha9849
    @diegofirmianodarocha9849 Год назад +1

    Great job, many thanks!

  • @voboghure-dev
    @voboghure-dev 6 месяцев назад +1

    Wow, excellent explanation. Just one thing, IMO I dont think its good to optimize to use wp-content folder only, because in development time editor will not suggest wp functions properly if we dont have wp-admin and wp-includes folder in our editor (I use VSCode). Whats your thoughts about that?

    • @wazoowebbytes
      @wazoowebbytes  6 месяцев назад +1

      yeah that's a really good point. When I set out to setup this experiment, I was approaching it from an angle where you might be working on 10 wordpress sites. So I would only want to commit to git the actual different data between each of the 10 vs. also committing 10 copies of the same wp-admin and wp-includes. But maybe I'm wrong to think this way? Good points to think about, appreciate the feedback!!

  • @rpicorelly
    @rpicorelly Год назад

    it took me a hot minute since this is the first time i am doing this. but, i got it working at the end. my .env wasn't saved in the folder 😅 thanks for the tutorial!

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      oh man! I'm happy you got it working and figured it out. Yeah I've been meaning to come back to more WordPress stuff here.

  • @OttoAgne
    @OttoAgne 11 месяцев назад

    Great tutorial wordpress with docker.
    Thank you

    • @wazoowebbytes
      @wazoowebbytes  11 месяцев назад

      thank you so much! I'm glad it helped!

  • @KomentarSaya
    @KomentarSaya Год назад +2

    you can write without
    env_file: .env
    example:
    wp_db_host: ${wp_db_host}

  • @Photo-Ninja
    @Photo-Ninja Год назад +1

    Thank you! What you will use now to have hot reload feature for your development setup? Browser Sync? Or something more efficient or maybe docker have something to offer in this matter? I just would like to see a real changes to css and php files. I'm currently using flywheel and Browser sync but tried docker fallowing your video and all works beautifully. I just need to get hot reload working. Many thanks for any hints... Great video I was waiting for it for a long time!

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      oh nice! Thanks so much. Yeah that's interesting...I agree that there's a piece missing that might be served by some kind of Node tooling to watch for file changes and reload. Good things for me to think about!

    • @Photo-Ninja
      @Photo-Ninja Год назад

      @@wazoowebbytes Thanks. Is there any way of creating this development environment without creating WordPress from scratch? I have an existing websites that I develop so is there any way I can move them to some local folder and hook docker to this existing wp installation?

  • @Just4Pro1
    @Just4Pro1 6 месяцев назад +2

    thakyou but i have a problem and my w-content folder is locked and i don't have persmission to edit files in ubuntu desktop 22

    • @wazoowebbytes
      @wazoowebbytes  6 месяцев назад

      yeah - I think I know what I left out - at the end of the wp-content volume line in your docker-compose.yml add a ":rw" (for read-write). Hopefully that helps you out!

    • @Just4Pro1
      @Just4Pro1 6 месяцев назад

      @@wazoowebbytes thanks for you reply i tried - ./wp-content:/var/www/html/wp-content:rw but still it's locked and i just able to edit it with sudo command

    • @wazoowebbytes
      @wazoowebbytes  6 месяцев назад +1

      weird - that should work. I'll see if I can re-create that on my end

  • @MacKas261
    @MacKas261 Год назад

    Great stuff. Thx for sharing!

  • @ianwright782
    @ianwright782 Год назад +1

    great tutorial, very helpful

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      thanks so much! I appreciate the feedback!

    • @ianwright782
      @ianwright782 Год назад

      I have a question, I want to to set the WP_ENVIRONMENT_TYPE with " define( 'WP_ENVIRONMENT_TYPE', 'staging' ); " but can't get it to work. I am adding it to my dockerfile as
      WORDPRESS_CONFIG_EXTRA: define('WP_ENVIRONMENT_TYPE','staging');
      then deleting all the files in the folder and the docker objects but it does not seem to pick it up.@@wazoowebbytes

  • @koranagan7727
    @koranagan7727 Год назад +1

    What exactly is in the .dockerignore file? Great video btw!

    • @wazoowebbytes
      @wazoowebbytes  Год назад +1

      hey - thanks a lot! Hmm pretty much anything you don't want copied from your project folder into the Docker container. So things like the ".git" folder, or "log" folders, etc.

  • @djmwebsites1529
    @djmwebsites1529 7 месяцев назад

    Excellent tutorial, thank you. One issue I am having is I am not able to sign in to phpMyAdmin with wp_user and wp_password. Any thoughts what I did wrong?

    • @wazoowebbytes
      @wazoowebbytes  7 месяцев назад

      Thanks so much! Hmm maybe double check caps lock (I know...but I had to mention it), and the credentials you're defining in the .env file. So I'm assuming that you have the correct port for phpMyAdmin, you just can't login?

    • @djmwebsites1529
      @djmwebsites1529 7 месяцев назад

      @@wazoowebbytes must have been a typo. I used - instead of an underscore. Thank you for your quick reply. You have a new subscriber.

    • @wazoowebbytes
      @wazoowebbytes  7 месяцев назад

      no problem - I'm happy you got it resolved! Thanks!

  • @Khushal-ai
    @Khushal-ai 3 месяца назад +1

    perfect thanks!!! ❤

    • @wazoowebbytes
      @wazoowebbytes  3 месяца назад +1

      thank you very much - happy it came in handy!

  • @emanuelsaramago1039
    @emanuelsaramago1039 3 месяца назад

    I'm getting an error on Wordpress "Error establishing a database connection". But the database is running on docker. What's missing?

  • @julio11789
    @julio11789 4 месяца назад

    You rock! Thank you so much!

    • @wazoowebbytes
      @wazoowebbytes  4 месяца назад

      thanks so much for the comment! I appreciate it, and happy it helped you!

  • @DarcyAllen-lk5yg
    @DarcyAllen-lk5yg Год назад +1

    Awesome. 5 Stars! *****

  • @wecann.clinic
    @wecann.clinic 8 месяцев назад

    amazing love docker!

    • @wazoowebbytes
      @wazoowebbytes  8 месяцев назад

      I'm enjoying it too! Thanks for stopping by, and appreciate the comment!

  • @FelipeGenuino
    @FelipeGenuino Год назад +1

    Thank you man.

  • @khanriza
    @khanriza Год назад

    Any chance you could do a Wordpress deployment video?

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      Thanks for leaving a comment - that's a great idea. I'll get some thoughts together on that.

  • @nnthtinhvy
    @nnthtinhvy 3 месяца назад

    great tut! thanks

    • @wazoowebbytes
      @wazoowebbytes  3 месяца назад

      thanks so much! Glad it helped you out!

  • @_Jam1
    @_Jam1 10 месяцев назад +1

    First time using docker,
    Docker compose up
    Didn't create any files In vs code but they must be somewhere since the WordPress site works...

    • @wazoowebbytes
      @wazoowebbytes  10 месяцев назад

      welcome to the Docker party! That's a great question / observation. The way this docker compose file is structured in the video, all the Wordpress files will just remain within the docker container, so you won't actually see anything "new" show up in VS Code. I'm planning a followup video for some actual WP development work. Thanks for leaving a comment and hope that helps!

    • @_Jam1
      @_Jam1 10 месяцев назад

      @@wazoowebbytes i see, but at 20:42 i see that your vs code installation has files inside of vs code?

    • @_Jam1
      @_Jam1 10 месяцев назад

      Nevermind, im stupid.
      i spelt html as hmtl...
      ./:/var/www/hmtl/wp-content

    • @wazoowebbytes
      @wazoowebbytes  9 месяцев назад

      ahhh that would explain that! Good catch on your end though!

  • @osirusj275
    @osirusj275 9 месяцев назад

    whats the difference of this wp on docker vs just installing the wp on local pc, this seems to have many more steps too

    • @wazoowebbytes
      @wazoowebbytes  9 месяцев назад

      a few more steps, but that you only have to do once. Then you can run this Docker image wherever you want. You don't need to litter up your server with all the bits you need just to get WP up and running - just a single Docker command. It can save you a ton of time if you're juggling a few WP sites using different versions.

    • @wazoowebbytes
      @wazoowebbytes  9 месяцев назад +1

      no problem at all - hope that helps! And it's also 1000% ok if you prefer it your own way :)

  • @wiztech_69
    @wiztech_69 Год назад +1

    bawss! only recent vid covering this topic

  • @tharakakarunarathne2420
    @tharakakarunarathne2420 Год назад

    When did he create that DB?

  • @ShamOs73
    @ShamOs73 4 месяца назад

    I have this issue with cood when I try to run it with cmd, it returns: service.volumes must be a mapping, and service.networks must be a mapping! And my code is same copy of code in video given. Can anybody give some instructions?

    • @wazoowebbytes
      @wazoowebbytes  3 месяца назад

      sorry for the late reply! Are you still having an issue with this? I was gonna suggest that maybe to double check your spacing in the .yml file? YAML is really picky about tabs

  • @raselsiddiqe8280
    @raselsiddiqe8280 10 месяцев назад

    running [docker compose up] returned a no configuration file provided: not found error in terminal. I'm probably doing something wrong here. Not sure what. Mine isn't a fresh install pre se, but I have removed all previous containers and no old containers are running. Looking for some directions.

    • @wazoowebbytes
      @wazoowebbytes  10 месяцев назад

      hmm sorry for the stupid question, but you're running "docker compose up" from the same directory as the docker-compose.yml file?

    • @raselsiddiqe8280
      @raselsiddiqe8280 10 месяцев назад

      @@wazoowebbytes I think so. I created the file in the working directory with VS code. then executed from the zsh terminal in vs code. The first time around it worked but I was unable to configure the ngnix conf file. So started over from scratch and now the compose doesn't work anymore.

    • @raselsiddiqe8280
      @raselsiddiqe8280 10 месяцев назад

      @@wazoowebbytes never mind. It worked after recreating the yml files. Thanks though!

    • @wazoowebbytes
      @wazoowebbytes  10 месяцев назад

      oh awesome -- but also weird! Maybe a strange hidden character in the file? At any rate, happy to hear it's working!

  • @myboringdesktop
    @myboringdesktop 11 месяцев назад +1

    How does WP run without it's core directories?

    • @wazoowebbytes
      @wazoowebbytes  11 месяцев назад

      hey! When you download the image in Docker, it will be created with its own internal file structure that will have all of WP's files within it. Hope that made some sense.

  • @mw2470
    @mw2470 11 месяцев назад

    If you create a custom theme, install plugins or upload images, will the files persist after shutting down or restarting?

    • @wazoowebbytes
      @wazoowebbytes  11 месяцев назад

      I think I need to create a followup video here - the actual plugin / theme development wasn't as straight forward as I hoped using this setup. Thanks for asking about it!

    • @mw2470
      @mw2470 11 месяцев назад

      @@wazoowebbytes Looking forward to it! Thanks for the current tutorial. Your presentation and explanations of each step were very helpful.

    • @wazoowebbytes
      @wazoowebbytes  11 месяцев назад

      thank you very very much. I appreciate that!

  • @masterng56
    @masterng56 Год назад +1

    thank you for the video. and also for a verse from the bible!

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      amen! Thanks for stopping by and hope the video helped out

  • @mahdikarimi6115
    @mahdikarimi6115 7 месяцев назад

    Thanks a lot BRO🔥

    • @wazoowebbytes
      @wazoowebbytes  7 месяцев назад

      no problem at all - thanks for stopping by and happy it helped!

  • @renealbrechtsen9743
    @renealbrechtsen9743 Год назад

    Hey. When I try to run the docker compose up command, I get this error: validating [path-to-file]: services.wordpress must be a mapping. How can I fix this ?

    • @hakim-kq1ic
      @hakim-kq1ic Год назад

      you have to save the file before running the command docker compose up

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      Thanks - hopefully that's the issue here!

  • @spadilha
    @spadilha Год назад +1

    Thank you!

  • @MrJ-ih9mw
    @MrJ-ih9mw 10 месяцев назад

    Can anybody help me?
    Win10
    I use
    docker compose up -d
    and on localhost:8080 i Can install WP
    but when I drop existing database and import my database from file
    I have "This site is unreachableThe localhost server rejected the connection."
    so I use
    docker compose down
    and delete the volume in docker desktop
    and try again use
    docker compose up -d
    but still: "This site is unreachableThe localhost server rejected the connection."
    This is no sense for me
    Why this happened? I assume that this not working due to import new database but when I use docker compose down and manually delete the volumine in docker desktop I will be able to running clean docker containers, and it should behave as it did the first time (WordPress installation)

    • @wazoowebbytes
      @wazoowebbytes  10 месяцев назад

      Hmm I'd have to try that out locally to replicate that. Maybe there's a missing line needed in the volumes...? I'll try to run some tests on that.

  • @LatinoWebStudio
    @LatinoWebStudio Месяц назад

    It doesn’t create those directories in the same folder. I’m not sure where they are created

    • @wazoowebbytes
      @wazoowebbytes  Месяц назад

      hmm thanks for pointing that out. I'll take another look - it should be showing up in your current project directory.

    • @LatinoWebStudio
      @LatinoWebStudio Месяц назад

      @@wazoowebbytes I found a different that shows the path needs to be changed for the volume under wordpress.
      Do you know how to install WP-CLI?

  • @LotfAliKhanIR
    @LotfAliKhanIR 11 месяцев назад

    i love you 🍀 thank you so much

    • @wazoowebbytes
      @wazoowebbytes  10 месяцев назад

      whoa - glad it really helped! Thank YOU so much!

  • @deadandan
    @deadandan 11 месяцев назад

    Does not work for me either. I have get an error when I want to reach the localhost:8080: "Error establishing a database connection". In console I have an error: "You need to specify one of MARIADB_ROOT_PASSWORD, MARIADB_ALLOW_EMPTY_ROOT_PASSWORD and MARIADB_RANDOM_ROOT_PASSWORD"

    • @deadandan
      @deadandan 11 месяцев назад

      Maybe I made some typo or something, but if I you that provided code from the description, than it works. Thanks :)

    • @wazoowebbytes
      @wazoowebbytes  11 месяцев назад

      good to hear! Hope that alleviates your issues with the setup!

  • @ShabbirYahya
    @ShabbirYahya Год назад

    what if i want to host on AWS this?

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      yeah - I'll have to come up with a followup video to put this on AWS. Thanks!

  • @OscarLarriega
    @OscarLarriega 9 месяцев назад

    I don't know what happen, I try the same config, but always wordpress throw "Error establishing a database connection", I try everything :(

    • @wazoowebbytes
      @wazoowebbytes  9 месяцев назад +1

      do you happen to know the version number of the Docker desktop app you're using by any chance? I've had a lot of difficulty with anything newer than v4.26.1

    • @vishaldeshpande6989
      @vishaldeshpande6989 10 дней назад

      This solved the issue for me. docker compose up -d

  • @moose43h
    @moose43h 8 месяцев назад

    i am gettings connection was reset on the browser for some reason

    • @wazoowebbytes
      @wazoowebbytes  8 месяцев назад

      strange. Every once in a while when weird things happen, I just end up needing to reboot. Sometimes things seem to get "stuck" in Docker-land...at least, that's been my experience.

  • @astraton2001
    @astraton2001 Год назад

    Not working: when calling localhost:8080 in browser I get error establishing a database connection.
    Seems I set everything like your tutorial. containers are there and running, message in console look also the same. But it's not working.
    Seems you missed some information.

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      hmm sorry to hear it's not working for you. I re-ran a fresh setup and everything came up ok. All you should need is a .env and docker-compose.yml files. Hope that helps!

    • @fatbikejamie
      @fatbikejamie Год назад

      I have the exact same issue. Likely related to the failure of the phpmyadmin container. No idea how to fix that. I've verified to the best of my ability to make 100% sure the .yml file is exactly like described in the video. Same results on three different boxes (2 Mint, one 64-bit raspberry pi bullseye)
      Would love to figure this out...

    • @astraton2001
      @astraton2001 Год назад +1

      @@fatbikejamie In my case it was the mysql user which was not created. After creating a valid mysql user with the necessary rights it finally worked.

    • @fatbikejamie
      @fatbikejamie Год назад

      Hmmm... will check that on my next attempt

    • @TheFer3sierras1
      @TheFer3sierras1 Год назад +1

      @@fatbikejamie I have the same problem, I checking it, but I dunno whether the problem is about docker. My Coworker told me that I need a local domain. I'll try to seek a little bit more.

  • @chelsealol1088
    @chelsealol1088 9 месяцев назад

    [+] Running 3/0
    ✘ wordpress Error 0.1s
    ✘ database Error 0.1s
    ✘ phpmyadmin Error 0.1s
    Error response from daemon: error creating temporary lease: read-only file system: unknown
    D:\docker-wordpress>... help me

    • @wazoowebbytes
      @wazoowebbytes  9 месяцев назад

      could be a few things there. Are you sure you have the Docker desktop app running? If it running, maybe double check in task manager that there's only one instance of Docker. Perhaps there's a previous stuck instance of the app running in the background...?

  • @OutofDarkness_jik
    @OutofDarkness_jik 2 месяца назад

    I guess I need a beginner's guide to this video. Incredibly frustrating. Having copied every line and double checking it, getting many errors when doing 'docker compose up' command... services.network must be a mapping services.ports must be a mapping and several others. Is this guide not for Windows' install of Docker Desktop?

    • @wazoowebbytes
      @wazoowebbytes  2 месяца назад

      oh no! I'm sorry to hear it. Yes, I recorded this on Windows, but Docker is definitely multi-platform. I'll rerun this on the latest version of Docker, as it is possible there's been a breaking change somewhere...so sorry to hear of your frustration!

  • @raimi21888
    @raimi21888 8 месяцев назад

    Thank you

    • @wazoowebbytes
      @wazoowebbytes  8 месяцев назад +1

      No problem! Happy to try and help - thanks so much for stopping by!

  • @mokiloke
    @mokiloke Год назад

    Is this easier than LocalWP

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      haven't heard of LocalWP - I'll give it a look. Thanks for mentioning it!

    • @KomentarSaya
      @KomentarSaya Год назад

      i prefer laragon if you run in windows11

    • @oohkumar
      @oohkumar 9 месяцев назад

      I use both. They are very similar. However when running the same site on both systems I found LocalWp to have a few (solvable) problems. However the Docker version that followed Mr Bytes installation instructions installed and ran perfectly.

  • @hakim-kq1ic
    @hakim-kq1ic Год назад

    wordpress is so slow how can that be fixed

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      Depending on your system, it could just be the fact that it's running in Docker - while Docker's super handy for setting up environments, it's still a virtual container that uses your system resources

  • @StuartPalmer1
    @StuartPalmer1 9 месяцев назад +5

    Good information, but why say it's 5 minutes for a 24 minute video 😂

    • @wazoowebbytes
      @wazoowebbytes  9 месяцев назад

      hahah yeah - true. You never know with RUclips - technically if you just come to the video, and grab the gist -- it's even less then 5 minutes. Good point!

    • @oohkumar
      @oohkumar 9 месяцев назад

      I grabbed the gist and it took me five minutes to set up. Keep up the good work Mr Bytes. I subscribed.

    • @wazoowebbytes
      @wazoowebbytes  9 месяцев назад

      thanks so much! Glad it helped!

    • @deepjiwan5500
      @deepjiwan5500 8 месяцев назад

      Technically, Its 5min if you watch it at 5x speed

    • @japhethjay4880
      @japhethjay4880 Месяц назад

      Exactly my first thought, but loved every moment of it

  • @2847-o4y
    @2847-o4y Год назад

    Thankyou

  • @necastiv11
    @necastiv11 Год назад

    Why do you lie that settng up XAMP is hard and complex?

    • @wazoowebbytes
      @wazoowebbytes  11 месяцев назад

      I don't think it's a lie - IMHO. It's time consuming and prone to lots of troubleshooting steps that are bypassed via trying out the Docker approach.

  • @Agtmp
    @Agtmp Год назад +1

    Works like charm . 1010101. Thanks!

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      heeh awesome - thanks so much, and glad it helped!

  • @hassanilyas6760
    @hassanilyas6760 Год назад

    in my case, my local dir is /var/www/wp-docker, but after pulling files using docker compose up, files are pulled, but no file is copied to my local dir.
    why is that?

    • @wazoowebbytes
      @wazoowebbytes  Год назад

      If I understand you correctly, then I think all of the files are showing up in the actual Docker container vs. your local local. Through the Docker desktop, you can navigate into the file structure of your container -- so it *should* be visible there