安装
debian@debian:~$ sudo docker pull area39/pikachu
Using default tag: latest
latest: Pulling from area39/pikachu
c64513b74145: Pull complete
......
0ebf3d66b35d: Pull complete
Digest: sha256:e9748879af76b68235a6ec66ce28b048323ac31f7f33065d83727cacb3998e05
Status: Downloaded newer image for area39/pikachu:latest
docker.io/area39/pikachu:latest
debian@debian:~$ sudo docker run -d -p 80:80 --name pikachu area39/pikachu
648ff4ebb5a60b8f8111955662b653f4cee10a19d64d1808ecba80c072091f95
debian@debian:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
648ff4ebb5a6 area39/pikachu "/run.sh" 2 minutes ago Up 2 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 3306/tcp pikachu
debian@debian:~$ ip addr show ens32
2: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:0c:29:d0:db:e8 brd ff:ff:ff:ff:ff:ff
altname enp2s0
inet 192.168.108.106/24 brd 192.168.108.255 scope global ens32
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:fed0:dbe8/64 scope link
valid_lft forever preferred_lft forever
然后再浏览器里输入:http://192.168.108.106/install.php
,点击 安装/初始化
。