(Docker部署Heimdall个人导航页)
一、Heimdall 介绍
Heimdall Application Dashboard 是所有 Web 应用程序的仪表板。不过,它不需要仅限于应用程序,您可以添加指向您喜欢的任何内容的链接。 可以用作个人的网页导航首页。
二、检查docker状态
[root@node ~]# systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2022-11-06 06:02:26 CST; 1 weeks 0 days ago
Docs: https://docs.docker.com
Main PID: 9869 (dockerd)
Tasks: 168
Memory: 2.8G
三、下载Heimdall
[root@node ~]# docker pull linuxserver/heimdall
Using default tag: latest
latest: Pulling from linuxserver/heimdall
538130908139: Pull complete
bf1637661deb: Pull complete
22c7fe8cf52a: Pull complete
fdc1135d5fa3: Pull complete
810ebf78201e: Pull complete
e11162508dc2: Pull complete
4a391c89b7ac: Pull complete
214e00b0ffee: Pull complete
0beb826dc6fe: Pull complete
d6cc44da9700: Pull complete
Digest: sha256:e2f8f819fa3bb4caa76d4d529979b89cf564cc1267baa6db8a102988bc25d0f9
Status: Downloaded newer image for linuxserver/heimdall:latest
docker.io/linuxserver/heimdall:latest
四、部署Heimdall
1.创建数据目录
[root@node ~]# mkdir -p /data/heimdall
[root@node ~]# cd /data/heimdall/
[root@node heimdall]#
2.创建Heimdall容器
docker run -d \
--name=heimdall \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Asia/Shanghai \
-p 8097:80 \
-p 473:443 \
-v /data/heimdall/config:/config \
--restart unless-stopped \
linuxserver/heimdall:latest
3.查看Heimdall容器状态
[root@node heimdall]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
35bba0c0b574 linuxserver/heimdall:latest "/init" 10 seconds ago Up 8 seconds 0.0.0.0:8097->80/tcp, :::8097->80/tcp, 0.0.0.0:473->443/tcp, :::473->443/tcp heimdall