start docker service on windows code example

Example 1: start docker service on windows

net start com.docker.service
net stop com.docker.service

Example 2: how to start docker

systemctl start docker.service
#(OR)
systemctl start docker
# it will start docker

Example 3: start service docker on linux

sudo systemctl start docker service
sudo systemctl stop docker service

Example 4: start another docker machine

# start another docker machine

# create a new docker machine
docker-machine create -d virtualbox --virtualbox-memory 2048 --virtualbox-disk-size 204800 my_new_machine

# replace my_new_machine
docker-machine start my_new_container
eval $($DOCKER_MACHINE env my_new_container --shell=bash)
docker-machine ssh my_new_container