You may run into PHP dependencies errors after updating Composer files with Docker images. In the Laravel docker-compose.yml file update the build/context runtime line to the required PHP version. Example For clarity of the image file name update the build/image line to reflect the new version. Example After updating the above run the command to […]
Tag: docker
Docker Desktop Change Disk Image Location On Windows
In Docker Desktop the file path can be changed to move the virtual disk image for the saved images/volumes etc… You can attempt to change the path and it will try to move the image file to the new location, sometimes this hangs or takes a long time. If it hangs sometimes restart Docker Desktop […]
WSL Ubuntu Reclaim Space on Vdisk Image Using Diskpart in Windows
Possible Disk Image locations If using Docker Desktop, exit the program and shutdown WSL(use terminate if wsl starts up again automatically), check nothing is running Start Diskpart with elevated privileges Attach the image file and compress the image
Docker Import Mysql Database
To import a mysql database via Docker use the following command. Use the code below to obtain the mysql-container name.
WordPress Docker Loopback Issue
You may encounter the following error messages in Site Health for a WordPress Docker container if not using port 80 Fix either by mapping port 80:80 for the container or changing the WordPress home and URL addresses to the host machine IP instead of localhost.