Run Expose Port
docker run -d -p 1024:1024 <tagname>
-d
run in detached mode so it runs as a daemon process
-p
signifies what host and what port it is running on
running docker ps
will show that the image is running
nc 127.0.0.1 1024
will connect to the container
docker run -d -p 1024:1024 -t <tagID>
Run Privileged
docker run -it --privileged <tagname>
Run Mounted Volume
docker run --restart=always -v myvolumename:/app -d mydockerimg:latest