Download docker for windows installer then install
Switch to windows container
Start docker for windows
https://docs.docker.com/docker-for-windows/
docker
Management Commands:
container Manage containers
image Manage images
network Manage networks
node Manage Swarm nodes
plugin Manage plugins
secret Manage Docker secrets
service Manage services
stack Manage Docker stacks
swarm Manage Swarm
system Manage Docker
volume Manage volumes
docker -v
docker version
docker system info
image
app
docker
container
run -it
microsoft/nanoserver:1709
cmd
(environment)
registry.docker.io
registry
namespace
repository
tag
microsoft/
nanoserver
:1709
image pull
container create
container attach
network connect
container start
container die
network disconnet
docker container ps
docker container ps -l
Docker containers last only till
the program you started with it
lasts. It will stop immediately
after the program exits.
docker container run -i -t microsoft/nanoserver:1709 cmd
interactive
allocate TTY
open shell
running Commands inside container
ipconfig
ping
net
hostname
date
cls
color --help
docker container ps
docker container ps -l
docker container ps -n 2
docker container ps -a
docker container run
detach
image
app/program
-idt
microsoft/nanoserver:1709
cmd
(persistent)
Tags
docker container ps
docker container logs <container id/name>
docker container logs -f <container id/name>
docker container ps
docker container exec -it <container id> cmd
docker container pause <container id>
docker container unpause <container id>
docker system df
docker container stop <container id>
docker container rm <container id>