ways to reduce the size of your docker images:
1. Multistage builds
2. Layer optimization
3. Images From Scratch
4. docker volumes & dbs
5. .dockerignore
6. dive
7. unikernel
1. Multistage builds
2. Layer optimization
3. Images From Scratch
4. docker volumes & dbs
5. .dockerignore
6. dive
7. unikernel
👍2
https://contabo.com/blog/linux-port-forwarding-with-iptables/
sudo iptables -t nat -A PREROUTING -p tcp --dport 11434 -j DNAT --to-destination 192.168.1.100:11434
sudo iptables -A FORWARD -p tcp -d 192.168.1.100 --dport 11434 -j ACCEPT
sudo iptables -t nat -A POSTROUTING -j MASQUERADE
sudo apt-get install -y --only-upgrade nginx
echo "" | sudo -S service phpx.x-fpm reload
watch -n1 "docker exec -i mysql mysql -u root -p'pass' -e 'SHOW FULL PROCESSLIST;'"
👍1
لینک معرفی ابرآروان کانال
https://accounts.arvancloud.ir/register?ref_id=0lbHrh
https://accounts.arvancloud.ir/register?ref_id=0lbHrh
YubiKey generate ssh key
ssh-keygen -t ed25519-sk -O resident -P ''
image_2024-08-31_23-30-26.png
3 MB
Kubernetes commands cheatsheet