starting docker code example
Example 1: how to start docker
systemctl start docker.service
systemctl start docker
Example 2: docker start container
$ docker start my_container
Example 3: docker getting-started
docker run -dp 80:80 docker/getting-started
Example 4: start another docker machine
docker-machine create -d virtualbox --virtualbox-memory 2048 --virtualbox-disk-size 204800 my_new_machine
docker-machine start my_new_container
eval $($DOCKER_MACHINE env my_new_container --shell=bash)
docker-machine ssh my_new_container