Editing hosts file on Mac
To edit hosts file on Mac M1 need to execute this command:
sudo nano /private/etc/hosts
To edit hosts file on Mac M1 need to execute this command:
sudo nano /private/etc/hosts
Error response from daemon: Ports are not available: exposing port TCP 127.0.0.1:443 -> 0.0.0.0:0: failed to connect to /var/run/com.docker.vmnetd.sock: is vmnetd running?: dial unix /var/run/com.docker.vmnetd.sock: connect: no such file or directory'
/Applications/Docker.app/Contents/MacOS/install remove-vmnetd
sudo /Applications/Docker.app/Contents/MacOS/install vmnetd
[Docker Desktop for Mac] ERROR ==> connect ENOENT /var/run/docker.sock
To remove all DDEV containers, without creating db backups, also remove stored project data (MySQL, logs, etc.)
ddev remove -a -O -R
To execute database management with sequelace:
ddev sequelace
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt install php8.1 php8.1-fpmsudo apt install php8.1-common php8.1-mysql php8.1-xml php8.1-xmlrpc php8.1-curl php8.1-gd php8.1-imagick php8.1-cli php8.1-mbstring php8.1-opcache php8.1-soap php8.1-zip php8.1-intl -y
cd /etc/nginx/sites-available/
sudo touch drupal.conf