Os Documentation Url: Mac Windows 10 Windows ( 10) Ubuntu Debian Centos Fedora

You might also like

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 8

OS Documentation URL

MAC https://docs.docker.com/docker-for-mac/install/
Windows 10 https://docs.docker.com/docker-for-windows/install/
Windows (<10) https://docs.docker.com/toolbox/toolbox_install_windows/
Ubuntu https://docs.docker.com/install/linux/docker-ce/ubuntu/
Debian https://docs.docker.com/install/linux/docker-ce/debian/
CentOS https://docs.docker.com/install/linux/docker-ce/centos/
Fedora https://docs.docker.com/install/linux/docker-ce/fedora/
Name URL
Overview https://docs.docker.com/engine/docker-overview/#docker-architecture
Part 1 https://docs.docker.com/get-started/
Part 2 https://docs.docker.com/get-started/part2/
Part 3 https://docs.docker.com/get-started/part3/
Part 4 https://docs.docker.com/get-started/part4/
Part 5 https://docs.docker.com/get-started/part5/
Part 6 https://docs.docker.com/get-started/part6/
Network containershttps://docs.docker.com/engine/tutorials/networkingcontainers/
Best Practices https://docs.docker.com/develop/dev-best-practices/
Samples https://docs.docker.com/samples/
Type Object Usage Action
Management create config
list config
Docker
inspect config
remove config
commit
copy files to host
create
execute
connect
export filesystem
inspect
kill
logs
Container list
pause
unpause
remove
remove (stopped)
run
start
stop
stop (all)
running processes
build
inspect
load
list
Image
remove
remove (unused/untagged)
save
tag
list
Service tasks
remove
deploy / update
list
Stack tasks
remove
services
init
Swarm
Swarm join
leave
Command
docker config create
docker config ls
docker config inspect [--pretty] CONFIG
docker config rm CONFIG
docker container commit [-a author | -c list | -m message | -p]
docker container cp [-a | -L] CONTAINER:SRC_PATH DEST_PATH|-
docker container create [OPTIONS] IMAGE [COMAND] [ARG...]
docker container exec [OPTIONS] CONTAINER COMMAND [ARG...]
docker exec [OPTIONS] CONTAINER COMMAND [ARG...]
docker exec -ti CONTAINER [/bin/bash OR /bin/sh]
docker container export [OPTIONS] CONTAINER
docker container inspect [OPTIONS] CONTAINER
docker container kill [OPTIONS] CONTAINER
docker container logs [OPTION] CONTAINER
docker container ls [OPTIONS]
docker ps [OPTIONS]
docker container pause CONTAINER
docker container unpause CONTAINER
docker container rm [OPTIONS] CONTAINER
docker container pruneCONTAINER
rm [OPTIONS] [OPTIONS]
docker conrainer rm $(docker ps -a -f "status=exited")
docker container
rm $(dockerrunps[OPTIONS] IMAGE [COMMAND] [ARG...]
-a -f "status=exited")
docker run [OPTIONS] IMAGE [COMMAND]
docker container start [OPTIONS] CONTAINER [ARG...]
docker
docker start [OPTIONS]
container CONTAINER
stop [OPTIONS] CONTAINER
docker stop [OPTIONS] CONTAINER
docker container stop $(docker ps)
docker container top CONTAINER
stop $(docker ps) [ps OPTIONS]
docker top CONTAINER [ps OPTIONS]
docker build [OPTIONS] PATH | URL | -
docker exec -t CONTAINER ps [ps OPTIONS]
Use:
docker image inspect [OPTIONS] IMAGE
Use:
docker image ls [OPTIONS] [REPOSITORY[:TAG]]
docker
docker images [OPTIONS]
image rm [REPOSITORY[:TAG]]
[OPTIONS] IMAGE
docker rmi [OPTIONS] IMAGE
docker
docker rmi
save$(docker images
[OPTIONS] IMAGE-a -q --filter dangling=true)

docker image tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]


Use:
docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
docker service ls [OPTIONS]
docker service ps [OPTIONS] SERVICE
docker service rm SERVICE
Use:
docker stack ls
docker stack ps [OPTIONS] STACK
docker stack rm STACK
docker stack services [OPTIONS] STACK
docker swarm init [OPTIONS]
docker swarm join [OPTIONS] HOST:PORT
docker swarm leave [-f]
Description
for more info use '--help'

Create a mew
Copy files fromimage from to
container a container's
host. changes
-a - Archive mode (keep uid/gid info)
-L - follow
Create sym
a new link in SRC_PATH
container
Run a command in a running container
Execute bash OR sh command in container with
interactive tty
Export container's file system as a tar archive
Display detailed info of a container
Kill a running container
Fetch logs of a container
List containers (only running ones)
-a - Show all containers
Pause all processes within a container
Unpause all processes in one container
Remove a container
Remove all stopped containers
Run a command in a new container
Start one stopped container
Stop one container
Stop all running containers
Display the running processes of a container
Build an image from a Dockerfile
Display detailed info of an image
Load an image from a tar archive or STDIN
List images
Remove images
Remove dangling/untagged images
Save image to a tar archive
Create a tag TARGET_IMAGE refers to
SOURCE_IMAGE
List services
List the tasks of service
Remove service
Deploy a new stack or update an existing stack
List stacks
List the tasks in a service
Remove a stack
List the services in a stack
Initialize a swarm
Join a swarm as a node and/or manager
Leave the swarm

You might also like