Whoami standalone working example with key and cert

has anyone tried to run the whoami container without Traefik for simple testing purposes?
I try to make it run using the flags cert and key.
How can I figure out that they are accepted?
Can someone share a working docker run command?

I can not test with cert and key flags but with

--port 8888

I can effectively change the port of the app with the port flag. So i think that a command like this should work:

docker run -d -P -v ./data:/data --name whoami containous/whoami --cert /data/cert.cer --key /data/key.key
1 Like

thx for quck reply, I haven't got the time to check this out, will report when I can.
Have you tired it once?