docker run -d -it -p 1521:1521 -p 22:22 -p 443:443 -p 80:80 --name rocky-container rockylinux:9.3.20231119 # start container each port you want to expose externally needs to be specified here
docker exec -it rocky-container /bin/bash # to enter the container this will start a shell as root under the container