Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Image remake #342

Closed
DaanSelen opened this issue Aug 26, 2024 · 1 comment
Closed

Docker Image remake #342

DaanSelen opened this issue Aug 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@DaanSelen
Copy link
Collaborator

DaanSelen commented Aug 26, 2024

Hello @donaldzou , for the last few days, I've been working on an upgrade from my previous Debian images, using the knowledge from the recent changes.

All code is seen here.
And the image is available from Docker Hub as dselen/wgdashboard:latest and dselen/wgdashboard:alpine
https://github.com/DaanSelen/WGDashboard

dselen@dev-mach:~/dselen$ docker images
REPOSITORY   TAG       IMAGE ID       CREATED             SIZE
noxcis       alpine    e52074af7518   15 minutes ago      24.7MB
dselen       alpine    b3a628546ff5   About an hour ago   111MB
dselen@dev-mach:~/dselen$ docker ps -s
CONTAINER ID   IMAGE           COMMAND                  CREATED             STATUS                       PORTS                                                                                          NAMES                 SIZE
72bb3b479345   noxcis:alpine   "/opt/wireguarddashb…"   14 minutes ago      Up 14 minutes (healthy)      0.0.0.0:81->10086/tcp, :::81->10086/tcp, 0.0.0.0:51821->51820/udp, :::51821->51820/udp         wizardly_williamson   90.2MB (virtual 115MB)
d751e18fcc9f   dselen:alpine   "/bin/bash /entrypoi…"   About an hour ago   Up About an hour (healthy)   0.0.0.0:10086->10086/tcp, :::10086->10086/tcp, 0.0.0.0:51820->51820/udp, :::51820->51820/udp   wgdashboard           11.3MB (virtual 122MB)
dselen@dev-mach:~/dselen$ docker scout cves dselen:alpine
    ✓ SBOM of image already cached, 94 packages indexed
    ✓ No vulnerable package detected


## Overview

                    │       Analyzed Image
────────────────────┼──────────────────────────────
  Target            │  dselen:alpine
    digest          │  b3a628546ff5
    platform        │ linux/amd64
    vulnerabilities │    0C     0H     0M     0L
    size            │ 68 MB
    packages        │ 94


## Packages and Vulnerabilities

  No vulnerable packages detected

dselen@dev-mach:~/dselen$ docker scout cves noxcis:alpine
    ✓ Image stored for indexing
    ✓ Indexed 44 packages
    ✓ No vulnerable package detected


## Overview

                    │       Analyzed Image
────────────────────┼──────────────────────────────
  Target            │  noxcis:alpine
    digest          │  e52074af7518
    platform        │ linux/amd64
    vulnerabilities │    0C     0H     0M     0L
    size            │ 13 MB
    packages        │ 44


## Packages and Vulnerabilities

  No vulnerable packages detected

My reasons for actively developing my own version of the image, is that it in size regards is really comparable. The image itself might be much much smaller on the current version. But looking at the docker ps -s you see that actually the current docker image balloons massively.

Regarding the CVE's I see both versions are free of them.

I look forward to your guys' feedback.

@DaanSelen DaanSelen added the enhancement New feature or request label Aug 26, 2024
@DaanSelen
Copy link
Collaborator Author

PR #345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants
@DaanSelen and others