Ana Sayfa – Yazılar
Debian docker kurulum adımları
nano /etc/apt/sources.list.d/pve-enterprise.list
apt uğdate upgrade
iptables -N DOCKER-USER; iptables -I DOCKER-USER -j ACCEPT
nano /etc/network/interfaces
auto lo
iface lo inet loopback
pre-up iptables -N DOCKER-USER; iptables -I DOCKER-USER -j ACCEPT
iface eno1 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.0.2.5/23
gateway 10.0.2.2
bridge_ports eno1
bridge_stp off
bridge_fd 0
iptables -L
zfs create -o mountpoint=/var/lib/docker rpool/docker-root
nano /etc/apt/sources.list.d/docker.list
apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add –
apt update
apt install docker-ce docker-ce-cli containerd.io
usermod -aG docker root — root a yetki veriyoruz
kurulum bitti
docker run hello-world test conteinerı çalıştırıoruz
docker kurulum adımları
1 apt-get update
2 apt-get upgrade
3 fdisk /dev/sdc
4 fdisk /dev/sdb
5 apt update
6 nano /etc/apt/sources.list
7 nano /etc/apt/sources.list.d/pve-enterprise.list
8 apt update
9 apt upgrage
10 apt upgrade
11 iptables -N DOCKER-USER; iptables -I DOCKER-USER -j ACCEPT
12 nano /etc/network/interfaces
13 iptables -L
14 zfs create -o mountpoint=/var/lib/docker rpool/docker-root
15 nano /etc/apt/sources.list.d/docker.list
16 apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
17 curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add –
18 curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add –
19 apt update
20 apt install docker-ce docker-ce-cli containerd.io
21 usermod -aG docker root
22 docker run hello-world
23 docker ps
24 docker ps -a
25 docker rm bf5cd4885af4
26 docker ps -a
27 docker volume create portainer_data
28 cd /var/lib/docker/volumes/portainer_data/
29 ls -la
30 df -h
31*
32 nano /etc/network/interfaces
33 history