cd /etc/nginx/sites-available/
cat default
sudo nano default
sudo systemctl restart nginx.service
docker ps
docker ps -a
docker logs -f --tail 500 <container name>
docker stop <container name>
docker restart <container name>
docker system prune -a
When build containers with jenkins and have problem: cannot connect to docker daemon
run command below:
restart docker
sudo chmod 666 /var/run/docker.sock
openssl rsa -in private.pem -pubout -out public.pem
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'allweb17';
FLUSH PRIVILEGES;