Hits: 8

 

1
2
3
4
5
6
vi /etc/config/qpkg.conf           #查看系统启动配置
vi /share/CACHEDEV1_DATA/.qpkg/container-station/container-station.sh    #查看container-station启动配置
cd /share/CACHEDEV1_DATA/Container   #进入Container 数据区
cd /share/CACHEDEV1_DATA/Public/container-station-data/lib/docker/   #进入docker系统数据区
cd  /share/CACHEDEV1_DATA/.qpkg/container-station/    #进入container-station程序区
/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/volumes/   #container-station数据卷的位置,容器删掉后数据还在

brctl show  查看网桥和端口连接信息。

建立app模板,(未成功)

  • /share/CACHEDEV1_DATA/.qpkg/container-station/data/template/建立目录,比如registryui,进入目录创建docker-compose.yml文件;
  • /share/CACHEDEV1_DATA/Container/container-station-data/application/创建目录,比如registryui,
    • 进入目录后,创建qnap.json, 编辑
      {“createFrom”: “wizard”, “version”: “12”, “binding”: {}, “name”: “registryui”, “template”: “registryui”}
    • 创建app.js,
      {“displayName”: “RegistryUI”, “name”: “registryui”, “repository”: “dockerhub”, “type”: “app”, “version”: “2.0.2”, “location”: “https://raw.githubusercontent.com/qnap-dev/container-apps/1.10/images/app_registry.png”, “arch”: “amd64”, “description”: “Registry UI A nice web interface for managing your Docker Registry images .”}
    • 创建wizard/description并进入目录,创建eng.md,编辑:
      ## Usage
      To view the GUI after launching Odoo, browse to http://NAS_IP:900
  • 重启ContainerStation;