![]() One way to solve the issue is to add the platform key for the database. ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries If you use a Mac device with the "M1" processor or any "M" processor, you might encounter an error. Error: No Matching Manifest For linux/arm64/v8 ![]() Once it's installed, you can use it for things such as local WordPress development. You can proceed further and install WordPress. After completion, the whale icon in the status bar indicates Docker is running and commands can be entered in the terminal. Double-click Docker.appin that folder to launch Docker. Save the file and you are ready to run WordPress locally! To do so, run the following command in your terminal: docker-compose up -dĪfter the command finishes, WordPress should be available at localhost:8000. Double-click Docker.dmgto open the installer, then drag the Docker icon to the Applicationsfolder. ![]() WORDPRESS_DB_PASSWORD: wordpress_db_password When it comes to "services", we will use two services:Īdd the remaining code in the docker-compose.yml file: version: "3.9" Things like the file structure, permitted configuration keys, and the compose behaviour depends on the version specified in the "docker-compose" file. The "version" from the top of the file specifies the version of the Compose file format. Now open the newly created file and add the following code: version: "3.9" Go to your preferred folder and create the Docker file as follows: touch docker-compose.yml To use WordPress locally, you need to create a "docker-compose" file. In the next step, you will configure WordPress with Docker. ![]() The above image illustrates what you should see when you open the application. Otherwise, go to the Docker website and download Docker Desktop.įollow the installation instructions and once it's done, open the application. If you already have Docker installed, you can skip the section. The first step is to install Docker on your device. In this article, you will learn how to run WordPress on your Mac device with Docker Compose. WordPress is a free and open-source content management system that you can use to create websites and blogs. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |