DeineAgenturUG / greenbone-gvm-openvas-for-docker

The Greenbone Vulnerability Management (GVM) and OpenVAS Scanner for Docker!
MIT License
24 stars 7 forks source link

[Bug] Not able to Open UI #28

Closed polin924fbn closed 2 years ago

polin924fbn commented 2 years ago

Describe the bug I got the latest version of deineagenturug/gvm:latest-data and then run it like this:

docker run --detach --publish 8080:9392 --publish 5432:5432 --publish 2222:22 --env DB_PASSWORD="" --env PASSWORD="" --name gvm deineagenturug/gvm:latest-data

I am not able to open the UI localhost:8080 (127.0.0.1). The site can't be reached

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Able to open the UI

Screenshots If applicable, add screenshots to help explain your problem.

Host Device:

Image in use:

[ { "Id": "sha256:71dd38f24dc5a6f72e95719215f8f10c07f38913e117c199173a38c91d7e94e7", "RepoTags": [ "deineagenturug/gvm:latest-data" ], "RepoDigests": [ "deineagenturug/gvm@sha256:1d5957a687283eb55d889b8dbadf83a429f90e7add0b255d9f35f31358b3eecd" ], "Parent": "", "Comment": "buildkit.dockerfile.v0", "Created": "2022-04-27T15:46:14.017140645Z", "Container": "", "ContainerConfig": { "Hostname": "", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": null, "Cmd": null, "Image": "", "Volumes": null, "WorkingDir": "", "Entrypoint": null, "OnBuild": null, "Labels": null }, "DockerVersion": "", "Author": "", "Config": { "Hostname": "", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "POSTGRESQL_VERSION=13", "GSAD_VERSION=21.4.4", "GSA_VERSION=21.4.4", "GVM_LIBS_VERSION=21.4.4", "GVMD_VERSION=21.4.5", "OPENVAS_SCANNER_VERSION=21.4.4", "OPENVAS_SMB_VERSION=21.4.0", "PYTHON_GVM_VERSION=21.11.0", "OSPD_OPENVAS_VERSION=21.4.4", "GVM_TOOLS_VERSION=21.10.0", "SYSTEM_DIST=debian", "SUPVISD=supervisorctl", "USERNAME=admin", "PASSWORD=adminpassword", "PASSWORD_FILE=none", "TIMEOUT=15", "DEBUG=N", "RELAYHOST=smtp", "SMTPPORT=25", "AUTO_SYNC=YES", "AUTO_SYNC_ON_START=YES", "HTTPS=true", "CERTIFICATE=none", "CERTIFICATE_KEY=none", "TZ=Etc/UTC", "SSHD=false", "DB_PASSWORD=none", "DB_PASSWORD_FILE=none", "DEBIAN_FRONTEND=noninteractive", "LANG=en_US.UTF-8", "SETUP=0", "OPT_PDF=0", "LANGUAGE=en_US.UTF-8", "LC_ALL=en_US.UTF-8" ], "Cmd": [ "/usr/bin/supervisord", "-n", "-c", "/etc/supervisord.conf" ], "ArgsEscaped": true, "Image": "", "Volumes": null, "WorkingDir": "", "Entrypoint": [ "/opt/setup/scripts/entrypoint.sh" ], "OnBuild": null, "Labels": null }, "Architecture": "amd64", "Os": "linux", "Size": 5417967060, "VirtualSize": 5417967060, "GraphDriver": { "Data": { "LowerDir": "/var/lib/docker/overlay2/cc122259c786f191ef0f7ca39cb56156c39cc453a9fc182cf1a0201d192a821f/diff:/var/lib/docker/overlay2/49d8decaceaa640d06f2f5a36e2ee8806a84f26054c09bdac944ab675efd4d33/diff:/var/lib/docker/overlay2/ea2d0b3b8d4e2b482ae1bd05fc653d76a9760b6f990caaed24abab22d73152e7/diff:/var/lib/docker/overlay2/b5fec6969aa33ec0f1575de68421118b2a529f44f336cececffc02112a60e397/diff:/var/lib/docker/overlay2/ff4e37d868bcaa3bfd1258d052a8cb7bbda7ebe911d25a39a39e2beb91506431/diff:/var/lib/docker/overlay2/f264b11ba4f846087f040aaeac35c9ddeeaa7869b1b54acbae6999d0f85c9cf0/diff:/var/lib/docker/overlay2/481a20828cca7a1d2cabf9e306611a7d930a78e8307d1834710ab5bde6503663/diff:/var/lib/docker/overlay2/41a65b4d0f96b7a00118c88c6e5a45986adeb9d6bd733fd4594122fce885ca9c/diff:/var/lib/docker/overlay2/cc6b150b9033c1cb28651ba179404f91ba3570efa20bbdedd15a7d3718e83d21/diff", "MergedDir": "/var/lib/docker/overlay2/4f1cce93208f6a36ebb9409bc7f79a873d469b24b6595a630dcf57601ff90c99/merged", "UpperDir": "/var/lib/docker/overlay2/4f1cce93208f6a36ebb9409bc7f79a873d469b24b6595a630dcf57601ff90c99/diff", "WorkDir": "/var/lib/docker/overlay2/4f1cce93208f6a36ebb9409bc7f79a873d469b24b6595a630dcf57601ff90c99/work" }, "Name": "overlay2" }, "RootFS": { "Type": "layers", "Layers": [ "sha256:9c1b6dd6c1e6be9fdd2b1987783824670d3b0dd7ae8ad6f57dc3cea5739ac71e", "sha256:dba9a9d326ff41d40374d80b4744f7ff1b92eabc38fb98624687ce5fc3d77f95", "sha256:c9751b15e693833f5f9bae8095f7da479f61f69eb46ffb63616268988dd06d9d", "sha256:8fd799d5fdf62138333617e9aaa47a794bdeab920b39ad2b01ad95a8f44e3807", "sha256:0169458c97dccd26028b459f993dc7d0c52d0e56e15ad6273ade503f0b53575b", "sha256:3afba846ae287f5342702f24a869fe7f03513b7bfda56de14df59a73e8f21298", "sha256:c544470dd794d964bd976427b647d1378ef364ee92a9bcfbd887020dd5a817e8", "sha256:0e29b87da527fbdf5c02e1a7590fabeb229709d8e3c2b8fd8408eace93f193d6", "sha256:9ac68f23b00c22abf48d113d3d85b1016bfc2c2edf1e7a20c57cb69ebd17f4be", "sha256:357f83b244106b1e812c08cf05f9498103c7dfef2d6b59ead964db6edc3cc259" ] }, "Metadata": { "LastTagTime": "0001-01-01T00:00:00Z" } } ]



**Additional context**
Add any other context about the problem here.
Dexus commented 2 years ago

What are telling you the logs?

docker logs gvm 
docker -t exec gvm cat /ver/log/gvmd/*
docker -t exec gvm cat /ver/log/supervisor/*

I do not have macOS here to check it. So I am not able to help here if there is a problem with the OS. BTW I know that on macos the docker way is difficult and I can think that it does not work like on Linux, like apple massacred the BSD OS to create their macos.

Did you http or https checked? Waited for some minutes?