Techie May 2022
1 . List running containers
2 . List all containers
3 . Start, restart, stop or kill a docker container
4 . Start a container and keep it running in the background
Detached mode runs containers in the background.
5 . Delete container
6 . Delete all stopped containers
7 . Kill all running containers
8 . Show container logs
9 . Tail/follow container logs
10 . Tail/follow container logs
11 . Save a running container as an image
12 . Run a command in a container
13 . Get shell access to a docker container
14 . Update your current package list
15 . Install a package
16 . Search for packages
17 . Install bash and switch current shell to bash
18 . View docker networks
19 . List running images
20 . List all images
21 . Delete image
22 . Tag an image
23 . Create an image from a container. (A snapshot of the container)
24 . Delete all images
25 . Remove an image that is not used in a container
26 . Clean an unused image
27 . Prune entire system
28 . Initialize the swarm mode and listen to a specific interface
29 . Join an existing swarm as a manager node
30 . Join a swarm as a worker node
31 . List all nodes in the swarm
32 . Create a service from an image on the existing port and deploy five instances
33 . List services running in a swarm
34 . Scale a service
35 . List the tasks of a service
36 . View all running services
37 . View all service logs
38 . Scale a service across qualified nodes
39 . Leave a swarm
40 . Remove a swarm
Thanks for reading, see you in the next one!