• Resolved Jimmi

    (@jimmi61)


    I installed Ubuntu 24.04 on WSL2 in my PC running Win10 and setup Docker in it. Now I would like to use?@wordpress/env without installing Docker Desktop. I have not clear if it is possible or shall I use another configuration. In case may someone point me to other documents that explain how to setup the environment?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator bcworkz

    (@bcworkz)

    Docker is a prerequisite for that package, you cannot use it without Docker. A similar but different option would be “Local”. Other possibilities are listed here.

    Thread Starter Jimmi

    (@jimmi61)

    thanks @bcworkz

    Searching in the Docker site I found this sample that I suppose should be also fine:

    awesome-compose/official-documentation-samples/wordpress at master · docker/awesome-compose · GitHub

    Unfortunately after the command: docker compose up -d the pull process holds until timeout. I live in China and I suspect that the Great Firewall has something to do with this problem, anyone has similar experience?

    • This reply was modified 3 months, 3 weeks ago by Jimmi.
    Thread Starter Jimmi

    (@jimmi61)

    As I supposed the problem is in China, however I managed to solve it ??

    Now WordPress is running, I can navigate in the dashboard an edit the articles, but the Theme Editor does not work, it stays blank and hangs forever, and also the plugins have some problems. I installed the plugin to create block themes but does not work.

    Am I missing something?

    • This reply was modified 3 months, 3 weeks ago by Jimmi.
    • This reply was modified 3 months, 3 weeks ago by Jimmi.
    • This reply was modified 3 months, 3 weeks ago by Jimmi.
    Moderator bcworkz

    (@bcworkz)

    The problems could be caused by a faulty theme or plugin somewhere. Try switching to one of the newer default Twenty* themes and deactivating all plugins. The site editor and all other standard WP features should all work normally now. Next, determine the cause of your troubles by restoring your normal theme and plugins, one at a time, checking for proper functionality after each. When troubles return, the last activated module is the cause.

    Thread Starter Jimmi

    (@jimmi61)

    I was using Twenty Twenty Four. The problem was somewhere in the Docker container, but I could not understand where.

    I found this amazing tutorial and now everything works like a charm ??

    Next challenge is to built my first block theme, I think you may hear soon from me…

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.