install docker on windows 10 code example
Example 1: how to check if i have docker installed
$ docker -v
Docker version 1.7.0, build 0baf609
$ echo $?
0
Example 2: docker-compose install
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Example 3: docker
docker ps
docker run
docker create
dokcer exec
docker volume
docker network
docker rm
docker images
docker rmi
docker build
docker push
docker pull
docker commit