google / grr

GRR Rapid Response: remote live forensics for incident response

Home Page:https://grr-doc.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Issue] Cant Change Ports for AdminUI via Docker

JustCodeIt4Head opened this issue · comments

Hello Girls&Guys,
im fairly new to this whole Docker Stuff and i run into a Problem. I tried to setup the GRR via the Guide provided by you in the Documentation:
--name grr-server
-e EXTERNAL_HOSTNAME=localhost
-e ADMIN_PASSWORD=demo
-p 0.0.0.0:8000:8000 -p 0.0.0.0:8080:8080
grrdocker/grr:v3.4.0.1

However, I changed the Port in the Command to 1520 / 1521, since i sue 8000/8080 for Kubernetes and Rancher since docker is better maintainable that way for me right now.
However, my Config and my Rancher show me that indeed the Public Host Port and Privat Container Port are set correctly to 1520 / 1520 and 1521/1521.
However, the Log tells me that the AdminUI and Polling got started anyway on 8000 / 8080 which is already occupied as I said.

I already tried to change the port in /usr/share/etc, but since the config of docker containers i volatile, well it doesn't save. Is there any way to change the Port?

Ok so i was stupid on that End:
-p 0.0.0.0:1520:8000 -p 0.0.0.0:1521:8080

That solved the Issue