一、OneNav介绍
1.OneNav简介
OneNav是一款使用PHP + SQLite 3开发的导航/书签管理器,支持Material Design风格,界面简洁,使用方便。
2.OneNav特点
- 支持后台管理
- 支持私有链接
- 支持多种主题风格(默认内置2套模板)
- 支持链接信息自动识别
- 支持API
二、下载onenav镜像
[root@jeven ~]# docker pull helloz/onenav:latest Using default tag: latest latest: Pulling from helloz/onenav 339de151aab4: Pull complete 4f4fb700ef54: Pull complete 64e2d91f6a6b: Pull complete aedf58cb2c7e: Pull complete 03e9996f76bb: Pull complete 16141d74ea3a: Pull complete Digest: sha256:da1030a7d0b01f3918f7806eef984f686d3578e4de34d592fb4f956341b6a741 Status: Downloaded newer image for helloz/onenav:latest docker.io/helloz/onenav:latest
三、部署OneNav应用
1.创建数据目录
[root@jeven ~]# mkdir -p /data/onenav [root@jeven ~]# cd /data/onenav/ [root@jeven onenav]#
2.创建OneNav容器
[root@jeven onenav]# docker run -d --name="onenav" --restart always -p 8011:80 -e USER='admin' -e PASSWORD='admin' -v /data/onenav/data:/data/wwwroot/default/data helloz/onenav:0.9.29 8e43316064d1a938600f1309883fac6b2e63279c9d2fe90fe554eecfd9fda827
3.查看OneNav容器状态
[root@jeven onenav]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 8e43316064d1 helloz/onenav "/usr/sbin/run.sh" 32 seconds ago Up 30 seconds 0.0.0.0:8011->80/tcp, :::8011->80/tcp onenav