Docker Run (docker run)

docker run

Run a command in a new container

Usage

$ docker run {options} {image} {command} {ARG...}

Example

azureuser@Azure:~$ docker run ubuntu echo "Hi there!"
Hi there!

Source: Docker Docs

Last updated