docker.io/ocsinventory/ocsinventory-docker-image:2.12.1 linux/amd64

docker.io/ocsinventory/ocsinventory-docker-image:2.12.1 - 国内下载镜像源 浏览次数:44

ocsinventory-docker-image 镜像描述

该镜像是一个用于运行 OCS Inventory NG 的 Docker 镜像,OCS Inventory NG 是一款用于网络硬件和软件资产管理的开源软件。

该镜像提供了以下功能:

  • 预先配置好的 OCS Inventory NG 环境
  • 易于部署和配置
  • 支持多种操作系统平台
  • 提供安全和可靠的资产管理
源镜像 docker.io/ocsinventory/ocsinventory-docker-image:2.12.1
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.1
镜像ID sha256:93eedfa025fd5fd08f076237ac072c28dfeaf8e99cb0096216c12cce162b3984
镜像TAG 2.12.1
大小 560.20MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /usr/sbin/apache2 -DFOREGROUND
启动入口 /docker-entrypoint.sh
工作目录 /etc/apache2/conf-available
OS/平台 linux/amd64
浏览量 44 次
贡献者
镜像创建 2024-10-30T10:47:17.80689672Z
同步时间 2024-11-22 09:54
更新时间 2024-12-21 04:29
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin OCS_VERSION=2.12.1 APACHE_RUN_USER=www-data APACHE_RUN_GROUP=www-data APACHE_LOG_DIR=/var/log/apache2 APACHE_PID_FILE=/var/run/apache2/apache2.pid APACHE_RUN_DIR=/var/run/apache2 APACHE_LOCK_DIR=/var/lock/apache2 OCS_DB_SERVER=dbsrv OCS_DB_PORT=3306 OCS_DB_USER=ocs OCS_DB_PASS=ocs OCS_DB_NAME=ocsweb OCS_LOG_DIR=/var/log/ocsinventory-server OCS_VARLIB_DIR=/var/lib/ocsinventory-reports/ OCS_WEBCONSOLE_DIR=/usr/share/ocsinventory-reports OCS_PERLEXT_DIR=/etc/ocsinventory-server/perl/ OCS_PLUGINSEXT_DIR=/etc/ocsinventory-server/plugins/ OCS_SSL_ENABLED=0 OCS_SSL_WEB_MODE=DISABLED OCS_SSL_COM_MODE=DISABLED OCS_SSL_KEY=/path/to/key OCS_SSL_CERT=/path/to/cert OCS_SSL_CA=/path/to/ca TZ=Europe/Paris
镜像标签
OCS Inventory docker image: description contact@ocsinventory-ng.org: maintainer ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version 2.12.1: version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-11-22 09:56

低危漏洞:173 中危漏洞:910 高危漏洞:2 严重漏洞:0

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.1
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.1  docker.io/ocsinventory/ocsinventory-docker-image:2.12.1

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.1
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.1  docker.io/ocsinventory/ocsinventory-docker-image:2.12.1

Shell快速替换命令

sed -i 's#ocsinventory/ocsinventory-docker-image:2.12.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.1#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.1 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.1  docker.io/ocsinventory/ocsinventory-docker-image:2.12.1'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.1 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.1  docker.io/ocsinventory/ocsinventory-docker-image:2.12.1'

镜像历史

大小 创建时间 层信息
0.00B 2024-10-30 18:47:17 CMD ["/usr/sbin/apache2" "-DFOREGROUND"]
0.00B 2024-10-30 18:47:17 ENTRYPOINT ["/docker-entrypoint.sh"]
0.00B 2024-10-30 18:47:17 EXPOSE map[80/tcp:{}]
7.97KB 2024-10-30 18:47:17 COPY ./docker-entrypoint.d /docker-entrypoint.d # buildkit
930.00B 2024-10-30 18:47:17 COPY ./docker-entrypoint.sh /docker-entrypoint.sh # buildkit
21.16KB 2024-10-30 18:47:17 COPY conf/ /tmp/conf # buildkit
30.00B 2024-10-30 18:47:17 RUN |1 APT_FLAGS=-y /bin/sh -c ln -sf /proc/self/fd/1 /var/log/apache2/access.log && ln -sf /proc/self/fd/2 /var/log/apache2/error.log # buildkit
0.00B 2024-10-30 18:47:17 WORKDIR /etc/apache2/conf-available
719.17KB 2024-10-30 18:47:17 RUN |1 APT_FLAGS=-y /bin/sh -c cd /tmp/OCSNG_UNIX_SERVER-${OCS_VERSION}/Apache/ && perl Makefile.PL && make && make install # buildkit
31.39MB 2024-10-30 18:47:15 RUN |1 APT_FLAGS=-y /bin/sh -c wget https://github.com/OCSInventory-NG/OCSInventory-ocsreports/releases/download/${OCS_VERSION}/OCSNG_UNIX_SERVER-${OCS_VERSION}.tar.gz -P /tmp && tar xzf /tmp/OCSNG_UNIX_SERVER-${OCS_VERSION}.tar.gz -C /tmp; # buildkit
450.20MB 2024-10-30 18:47:14 RUN |1 APT_FLAGS=-y /bin/sh -c apt-get update && apt-get install -y wget curl make perl apache2 php libxml-simple-perl libdbi-perl libdbd-mysql-perl libapache-dbi-perl libnet-ip-perl libsoap-lite-perl libarchive-zip-perl libswitch-perl libmojolicious-perl libplack-perl build-essential php-pclzip php-mbstring php-soap php-mysql php-curl php-xml php-zip php-gd php-ldap # buildkit
0.00B 2024-10-30 18:45:59 VOLUME [/var/lib/ocsinventory-reports /etc/ocsinventory-server /usr/share/ocsinventory-reports/ocsreports/extensions]
45.00B 2024-10-30 18:45:59 RUN |1 APT_FLAGS=-y /bin/sh -c ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # buildkit
0.00B 2024-10-30 18:45:59 ENV APACHE_RUN_USER=www-data APACHE_RUN_GROUP=www-data APACHE_LOG_DIR=/var/log/apache2 APACHE_PID_FILE=/var/run/apache2/apache2.pid APACHE_RUN_DIR=/var/run/apache2 APACHE_LOCK_DIR=/var/lock/apache2 OCS_DB_SERVER=dbsrv OCS_DB_PORT=3306 OCS_DB_USER=ocs OCS_DB_PASS=ocs OCS_DB_NAME=ocsweb OCS_LOG_DIR=/var/log/ocsinventory-server OCS_VARLIB_DIR=/var/lib/ocsinventory-reports/ OCS_WEBCONSOLE_DIR=/usr/share/ocsinventory-reports OCS_PERLEXT_DIR=/etc/ocsinventory-server/perl/ OCS_PLUGINSEXT_DIR=/etc/ocsinventory-server/plugins/ OCS_SSL_ENABLED=0 OCS_SSL_WEB_MODE=DISABLED OCS_SSL_COM_MODE=DISABLED OCS_SSL_KEY=/path/to/key OCS_SSL_CERT=/path/to/cert OCS_SSL_CA=/path/to/ca TZ=Europe/Paris
0.00B 2024-10-30 18:45:59 ARG APT_FLAGS=-y
0.00B 2024-10-30 18:45:59 LABEL maintainer=contact@ocsinventory-ng.org version=2.12.1 description=OCS Inventory docker image
0.00B 2024-10-30 18:45:59 ENV OCS_VERSION=2.12.1
0.00B 2024-09-12 00:25:18 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.86MB 2024-09-12 00:25:17 /bin/sh -c #(nop) ADD file:ebe009f86035c175ba244badd298a2582914415cf62783d510eab3a311a5d4e1 in /
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-09-12 00:25:16 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:93eedfa025fd5fd08f076237ac072c28dfeaf8e99cb0096216c12cce162b3984",
    "RepoTags": [
        "ocsinventory/ocsinventory-docker-image:2.12.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.1"
    ],
    "RepoDigests": [
        "ocsinventory/ocsinventory-docker-image@sha256:def850300640f4f208a5808e0e18423954a18ba84f1f3a0f34315e54578097c3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image@sha256:ccd59de58b74ea46ee8678cafb80bc524fc9d2f4541b4e0dd0f8c749cf301cb5"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-30T10:47:17.80689672Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "80/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "OCS_VERSION=2.12.1",
            "APACHE_RUN_USER=www-data",
            "APACHE_RUN_GROUP=www-data",
            "APACHE_LOG_DIR=/var/log/apache2",
            "APACHE_PID_FILE=/var/run/apache2/apache2.pid",
            "APACHE_RUN_DIR=/var/run/apache2",
            "APACHE_LOCK_DIR=/var/lock/apache2",
            "OCS_DB_SERVER=dbsrv",
            "OCS_DB_PORT=3306",
            "OCS_DB_USER=ocs",
            "OCS_DB_PASS=ocs",
            "OCS_DB_NAME=ocsweb",
            "OCS_LOG_DIR=/var/log/ocsinventory-server",
            "OCS_VARLIB_DIR=/var/lib/ocsinventory-reports/",
            "OCS_WEBCONSOLE_DIR=/usr/share/ocsinventory-reports",
            "OCS_PERLEXT_DIR=/etc/ocsinventory-server/perl/",
            "OCS_PLUGINSEXT_DIR=/etc/ocsinventory-server/plugins/",
            "OCS_SSL_ENABLED=0",
            "OCS_SSL_WEB_MODE=DISABLED",
            "OCS_SSL_COM_MODE=DISABLED",
            "OCS_SSL_KEY=/path/to/key",
            "OCS_SSL_CERT=/path/to/cert",
            "OCS_SSL_CA=/path/to/ca",
            "TZ=Europe/Paris"
        ],
        "Cmd": [
            "/usr/sbin/apache2",
            "-DFOREGROUND"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/etc/ocsinventory-server": {},
            "/usr/share/ocsinventory-reports/ocsreports/extensions": {},
            "/var/lib/ocsinventory-reports": {}
        },
        "WorkingDir": "/etc/apache2/conf-available",
        "Entrypoint": [
            "/docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "description": "OCS Inventory docker image",
            "maintainer": "contact@ocsinventory-ng.org",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04",
            "version": "2.12.1"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 560201534,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/a08ffb184e35409fa6f987eae4041c6aa3fa357486b3780dfaf607c24123f47f/diff:/var/lib/docker/overlay2/b98e58c6210283671e2fae9a40331ec80a7131ebcaaeb231d1ebb1616dfc69be/diff:/var/lib/docker/overlay2/2203f30d05dd102be70822b5c498db9ac54eebfe04730f42f5ddd8689f47e35b/diff:/var/lib/docker/overlay2/ae933b390a11e504accaa91f3de9024a933d8063ce3140ca27e5410afd5529b0/diff:/var/lib/docker/overlay2/dc625b444360bfd0a4efbad2b05b1612d74b3da9784d4ce9b84759a1065a47cc/diff:/var/lib/docker/overlay2/5fea9f75a2ce0329ae8f3a88486f501347d14f5d4b0e534c0a722e39cc45556f/diff:/var/lib/docker/overlay2/3f39abb5178d5e33187349d0d0bab403d3f0d508eae415df525ebe51c5ec06ab/diff:/var/lib/docker/overlay2/d227aeba0be2cae61cd5c3b9c07b7524bb71926451fddeb3eef52a03a532d4c2/diff:/var/lib/docker/overlay2/4cfb2ff6eb670d08d805fcc326973c76acabc424b2f6ce5f1903149f34750452/diff",
            "MergedDir": "/var/lib/docker/overlay2/73d99454fbc6821846ecaeb7d6f0eee891940a01b79ee498f1b676cf19b08f48/merged",
            "UpperDir": "/var/lib/docker/overlay2/73d99454fbc6821846ecaeb7d6f0eee891940a01b79ee498f1b676cf19b08f48/diff",
            "WorkDir": "/var/lib/docker/overlay2/73d99454fbc6821846ecaeb7d6f0eee891940a01b79ee498f1b676cf19b08f48/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2573e0d8158209ed54ab25c87bcdcb00bd3d2539246960a3d592a1c599d70465",
            "sha256:48ba7e66f585a875ad21fed4faf94af3f9edcadbad5e1a76f53d8a1c33acb280",
            "sha256:dc358103e4deb2fc660503807afe17edca4c9ea8ef08a708a953780dea40bc67",
            "sha256:99c7d881bafffd455c39b48ca3d8a7549adbff16c3b808b0a00d6b6c13345c43",
            "sha256:3bd13213da1b5cb01e2793fcb8ef0ce8cee848f9ef34566393b84e9c01e1af48",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:58a1cbceef450f0dc356f668214e026748bbc45a71bc2a015f34c9da904be8ff",
            "sha256:cdf33ac5a959cbd722ba465fc3c669595510c4b639086162539058c0283aa317",
            "sha256:0940c5a07e78d44cac21abd30047e6c8b41260e20646a54684703e3646fae68f",
            "sha256:3f0da9b29032e97690181fe13ff49bfaa724a9c582caa360f24e01f4ba59d54d"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-22T09:54:07.944451426+08:00"
    }
}

更多版本

docker.io/ocsinventory/ocsinventory-docker-image:2.12.3

linux/amd64 docker.io559.39MB2024-11-08 21:03
47

docker.io/ocsinventory/ocsinventory-docker-image:2.12.1

linux/amd64 docker.io560.20MB2024-11-22 09:54
43