docker create container run command code example
Example 1: run host command from docker container
docker run --rm -v $(pwd)/mybashscript.sh:/mybashscript.sh ubuntu bash /mybashscript.sh
Example 2: - d in docker
docker run -d <image name>
# -d is used for detached mode