버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

...

Install ishare2 Image Manager GUI

코드 블럭
linenumberstrue
# cd /opt
# git clone https://github.com/ishare2-org/ishare2-web-gui.git
# cd ishare2-web-gui
# docker images
REPOSITORY          TAG           IMAGE ID       CREATED          SIZE
ishare              latest        b8d5dcdcbe12   10 minutes ago   87.6MB
python              3.11-alpine   a6fe4140edea   10 days ago      52.5MB

...

Check network and configure

코드 블럭
linenumberstrue
# brctl show
bridge name     bridge id               STP enabled     interfaces
docker0         8000.024251d06cf7       no
pnet0           8000.566f4bf80108       no              eth0
pnet1           8000.566f4bf80109       no              eth1
pnet2           8000.566f4bf8010a       no              eth2
pnet3           8000.000000000000       no
pnet4           8000.000000000000       no
pnet5           8000.000000000000       no
pnet6           8000.000000000000       no
pnet7           8000.000000000000       no
pnet8           8000.000000000000       no
pnet9           8000.000000000000       no
pnet_nat        8000.000000000000       no

...

코드 블럭
# docker run --name ishare --network=host -d -p 5000:5000 -v /opt/unetlab:/opt/unetlab -it ishare

Firewall (optional)

코드 블럭
linenumberstrue
apt -y install ufw
systemctl enable --now ufw
ufw allow from 172.16.0.0/12 comment "Docker Internal"
ufw allow from 10.177.0.0/16 comment "Docker Internal"
ufw allow from 192.168.0.0/24 to any port 80   proto tcp comment "PNET - My Network"
ufw allow from 192.168.0.0/24 to any port 443  proto tcp comment "PNET - My Network"
ufw allow from 192.168.0.0/24 to any port 5000 proto tcp comment "PNET - My Network"

...