[root@localhost ~]# docker run --rm -p 5050:5050 dpage/pgadmin4
Docker 101 is somewhat out-of-scope for this list but as with most things the docker command is documented. I've linked to the section that specifically talks about environment variables.