sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo docker run hello-world
// Check output of above command and confirm there is not errors shown
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo curl -L https://raw.githubusercontent.com/docker/compose/1.29.2/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose
source ~/.bashrc
docker-compose --version
// Check output of above command and confirm there is not errors shown
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
sudo chown "$USER":"$USER" /home/"$USER"/.docker -R
sudo chmod g+rwx "$HOME/.docker" -R
docker run hello-world
// Check output of above command and confirm there is not errors shown
sudo apt install wget libnss3-tools
curl -LO https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh
mkcert -install
service apache2 stop or service nginx stop
service php-fpm stop
// Stop all php-fpm process eg:- php7.0-fpm or php7.1-fpm or php7.2-fpm or php7.3-fpm or php7.4-fpm
// Go to the project document root
ddev config
// Answer all the questions
ddev start
ddev import-db --src=database.sql
// import your sql file
ddev drush cc all
ddev drush cr