ข้ามไปที่เนื้อหาหลัก

บทความ

เวปความรู้

 https://learningprogramming.net/category/php-mysql/php/ https://www.labnol.org/code/19871-get-post-requests-google-script
โพสต์ล่าสุด

Podman ==> Start Podman Containers on Boot

 https://www.server-world.info/en/note?os=AlmaLinux_9&p=podman&f=13 https://linuxhandbook.com/autostart-podman-containers/ [1] Generate Systemd unit file and Set auto-starting for containers. podman run --name almalinux-nginx -d -p 80:80 srv.world/almalinux-nginx podman generate systemd --new --files --name almalinux-nginx [2] Set auto-starting for pods.

Podman

  https://medium.com/@raghavendraguttur/podman-containers-beginners-guide-830b931e66f4

Docker Crash Course

 https://www.youtube.com/watch?v=pg19Z8LL06w ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬ 0:00 - Intro and Course Overview 02:54 - What is Docker? 03:51 - What problems Docker solves in development and deployment process 11:38 - Virtual Machine vs Docker 17:19 - Install Docker 21:36 - Docker Images vs Containers 26:32 - Docker Registries 29:38 - Docker Image Versions 32:02 - Main Docker Commands - Pull and Run Docker containers 39:06 - Port Binding 42:50 - Start and Stop containers 46:54 - Private Docker Registries 48:11 - Registry vs Repository 49:09 - Dockerfile - Dockerize Node.js app 58:30 - Build Image 1:02:39 - Docker UI Client 1:03:39 - Overview: Docker in complete software development lifecycle 1:06:38 - Where to go from here

How to connect to a WireGuard VPN server from a Docker container

How to connect to a WireGuard VPN server from a Docker container – pedrolamas.com How to connect to a WireGuard VPN server from a Docker container I like to use Docker containers for pretty much everything I do, so I wanted to see if I could have a Docker container connect to a WireGuard  VPN  Server, and then have other containers share that same connection. Surprisingly, this is not only possible, but it is also amazingly easy to achieve! Preparation We will be using the  linuxserver/wireguard  Docker image. This image works in either WireGuard server or client mode, but we will be using it just as a client. For this post, I will focus on having the  VPN  connection isolated from the host system by using a custom bridge network. We will also be using  docker-compose  to maintain the full Docker stack. We will create a folder called “wireguard” that will store all the data from the container. Inside this folder we will place a file called “wg0.conf” that will hold the WireGuard connec