Docker – run

Docker run command Use Docker run command to launch containers from an image. It provides a large number of options. Syntax docker run [OPTIONS] IMAGE [COMMAND] [ARG…] Example For example, run the hello-world example officially provided by Docker community to test your installation. Run command will also download the image from docker hub it not found locally. $ sudo docker run hello-world As a better use, you can use -i to keep STDIN open and -t to allocate a TTY to the container. You can also use -d to run…

Read More