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

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

ocsinventory-docker-image 镜像描述

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

该镜像提供了以下功能:

  • 预先配置好的 OCS Inventory NG 环境
  • 易于部署和配置
  • 支持多种操作系统平台
  • 提供安全和可靠的资产管理
源镜像 docker.io/ocsinventory/ocsinventory-docker-image:2.12.3
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.3
镜像ID sha256:b9574b00d5b716ab7a4750c435c9ebbad7acd78a4611ccec16ea3df83a122cc5
镜像TAG 2.12.3
大小 559.39MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /usr/sbin/apache2 -DFOREGROUND
启动入口 /docker-entrypoint.sh
工作目录 /etc/apache2/conf-available
OS/平台 linux/amd64
浏览量 48 次
贡献者
镜像创建 2024-10-30T10:47:20.938066352Z
同步时间 2024-11-08 21:03
更新时间 2024-12-20 17:09
开放端口
80/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin OCS_VERSION=2.12.3 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.3: version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-11-08 21:05

低危漏洞:172 中危漏洞:721 高危漏洞:0 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#ocsinventory/ocsinventory-docker-image:2.12.3#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.3#' 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.3 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.3  docker.io/ocsinventory/ocsinventory-docker-image:2.12.3'

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.3 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.3  docker.io/ocsinventory/ocsinventory-docker-image:2.12.3'

镜像历史

大小 创建时间 层信息
0.00B 2024-10-30 18:47:20 CMD ["/usr/sbin/apache2" "-DFOREGROUND"]
0.00B 2024-10-30 18:47:20 ENTRYPOINT ["/docker-entrypoint.sh"]
0.00B 2024-10-30 18:47:20 EXPOSE map[80/tcp:{}]
8.16KB 2024-10-30 18:47:20 COPY ./docker-entrypoint.d /docker-entrypoint.d # buildkit
930.00B 2024-10-30 18:47:20 COPY ./docker-entrypoint.sh /docker-entrypoint.sh # buildkit
21.42KB 2024-10-30 18:47:20 COPY conf/* /tmp/conf/ # buildkit
30.00B 2024-10-30 18:47:20 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:20 WORKDIR /etc/apache2/conf-available
727.82KB 2024-10-30 18:47:20 RUN |1 APT_FLAGS=-y /bin/sh -c cd /tmp/OCSNG_UNIX_SERVER-${OCS_VERSION}/Apache/ && perl Makefile.PL && make && make install # buildkit
30.57MB 2024-10-30 18:47:18 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:17 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:46:00 VOLUME [/var/lib/ocsinventory-reports /etc/ocsinventory-server /usr/share/ocsinventory-reports/ocsreports/extensions]
45.00B 2024-10-30 18:46:00 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:46:00 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:46:00 ARG APT_FLAGS=-y
0.00B 2024-10-30 18:46:00 LABEL maintainer=contact@ocsinventory-ng.org version=2.12.3 description=OCS Inventory docker image
0.00B 2024-10-30 18:46:00 ENV OCS_VERSION=2.12.3
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:b9574b00d5b716ab7a4750c435c9ebbad7acd78a4611ccec16ea3df83a122cc5",
    "RepoTags": [
        "ocsinventory/ocsinventory-docker-image:2.12.3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image:2.12.3"
    ],
    "RepoDigests": [
        "ocsinventory/ocsinventory-docker-image@sha256:f284c6b19d3dfcc98ca9d00e2b9b07eb352fdc6ad9468dbcb367f5e5440130c4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/ocsinventory/ocsinventory-docker-image@sha256:25bfa72c8d664db5bc5e4872855ea269918d7dc10bf68da614573bc64932b448"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-30T10:47:20.938066352Z",
    "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.3",
            "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.3"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 559392156,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f490869c7388ec73dd1e8b3625d163c16225144f61cbbf6b6b0040a18af83917/diff:/var/lib/docker/overlay2/f46e8ab83e9021507a4598d6d495f0205e85ab6339c0fb339e2a27b82094b498/diff:/var/lib/docker/overlay2/e85ddfcacfb9bbb97720a6acf71b4cb8a1bb647aa0f8374991a73d4ee6174392/diff:/var/lib/docker/overlay2/3df5cbf46fcf496327b7b88f87a00b4b294b75302dfe4442f3d4ee44e1ae81cb/diff:/var/lib/docker/overlay2/01e4390e95b2bc9acc5aea0c3ca7457b0b8a7d944d78b19b1cf43db63028d02d/diff:/var/lib/docker/overlay2/dfa5445d44b06f2b32d9a384d285b0dc3ee80da6697be6e8bd10e4dd99f4fa62/diff:/var/lib/docker/overlay2/23888592d1c17d43068f5a598bf2d3e2a844dc1a43c986219aa2e0bc49cd4715/diff:/var/lib/docker/overlay2/3801673ed088d38fd0670cb14d39b4b011ff0d29c33f7ee47dc88a2473a498be/diff:/var/lib/docker/overlay2/4cfb2ff6eb670d08d805fcc326973c76acabc424b2f6ce5f1903149f34750452/diff",
            "MergedDir": "/var/lib/docker/overlay2/2298a44d92b4ca0252e73f7acb2303df12ed26847b10a41b40e7af6c349f881e/merged",
            "UpperDir": "/var/lib/docker/overlay2/2298a44d92b4ca0252e73f7acb2303df12ed26847b10a41b40e7af6c349f881e/diff",
            "WorkDir": "/var/lib/docker/overlay2/2298a44d92b4ca0252e73f7acb2303df12ed26847b10a41b40e7af6c349f881e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:2573e0d8158209ed54ab25c87bcdcb00bd3d2539246960a3d592a1c599d70465",
            "sha256:1447b9493997b043c51132301796645622989018ed719845b22248665e09fdc3",
            "sha256:239ff0af724576da6cf32d07b3ed5fb9faf93a544762e2361779d217ee6f8233",
            "sha256:4334d801922270134b7caab25214eb86ab47bc42fc7558e2d421e7d2b3a1ba79",
            "sha256:e894451abd86423ad8edadd2ad7243313211ec60ef7454eab427eb42fddaa754",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5d4dc8c41c252d3adaeef0e2eadc26a9484f66ebd4186872240f2e01cef8ade0",
            "sha256:a018cfacfa14293ba2e8e40a6d36f912c8ca76fb28b5e012e51b5c6f21ac9bf3",
            "sha256:22f64e71896dd92c7fe547cc1d96575ac75e6d2e294c16f7c476c21ee0005615",
            "sha256:de6f29af0611fab08eb23c0ae7db35a86279a52a426e5465fbf9e9fb577ef4fe"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-08T21:03:11.330549178+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
44