docker run arguments code example
Example 1: docker run name
docker run --name <container name> -dp <local port>:<container port> <image>
Example 2: docker run command on container
sudo docker exec -it <container name> <command>
Example 3: how does docker run image read runtime arguments
$ docker run my-awesome-image -e VAR_FROM_ENV -e "MYVAR=2"
Example 4: how does docker run image read runtime arguments
$ docker build --build-arg HTTP_PROXY=http://10.20.30.2:1234 .