Note
This example assumes you have Docker running in daemon mode. For more information please see Running The Examples
This is the most basic example available for using Docker.
Download the base container
# Download a base image
docker pull base
The base image is a minimal ubuntu based container, alternatively you can select busybox, a bare minimal linux system. The images are retrieved from the docker repository.
#run a simple echo command, that will echo hello world back to the console over standard out.
docker run base /bin/echo hello world
Explanation:
Video:
See the example in action
Continue to the Hello World Daemon example.