Docker CLI Cmds Flashcards

1
Q

Command

A

Description

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

docker attach

A

Attach local standard input, output, and error streams to a running container

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

docker build

A

Build an image from a Dockerfile

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

docker builder

A

Manage builds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

docker checkpoint

A

Manage checkpoints

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

docker commit

A

Create a new image from a container’s changes

EX: docker commit <> <>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

docker config

A

Manage Docker configs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

docker container

A

Manage containers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

docker context

A

Manage contexts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

docker cp

A

Copy files/folders between a container and the local filesystem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

docker create

A

Create a new container

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

docker diff

A

Inspect changes to files or directories on a container’s filesystem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

docker events

A

Get real time events from the server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

docker exec

A

Run a command in a running container

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

docker export

A

Export a container’s filesystem as a tar archive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

docker history

A

Show the history of an image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

docker image

A

Manage images

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

docker images

A

List images

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

docker import

A

Import the contents from a tarball to create a filesystem image

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

docker info

A

Display system-wide information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

docker inspect

A

Return low-level information on Docker objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

docker kill

A

Kill one or more running containers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

docker load

A

Load an image from a tar archive or STDIN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

docker login

A

Log in to a Docker registry

25
Q

docker logout

A

Log out from a Docker registry

26
Q

docker logs

A

Fetch the logs of a container

27
Q

docker manifest

A

Manage Docker image manifests and manifest lists

28
Q

docker network

A

Manage networks

29
Q

docker node

A

Manage Swarm nodes

30
Q

docker pause

A

Pause all processes within one or more containers

31
Q

docker plugin

A

Manage plugins

32
Q

docker port

A

List port mappings or a specific mapping for the container

33
Q

docker ps

A

List containers

34
Q

docker pull

A

Pull an image or a repository from a registry

35
Q

docker push

A

Push an image or a repository to a registry

36
Q

docker rename

A

Rename a container

37
Q

docker restart

A

Restart one or more containers

38
Q

docker rm

A

Remove one or more containers

39
Q

docker rmi

A

Remove one or more images

40
Q

docker run

A

Run a command in a new container.

Converts an image into a container.

41
Q

docker save

A

Save one or more images to a tar archive (streamed to STDOUT by default)

42
Q

docker search

A

Search the Docker Hub for images

43
Q

docker secret

A

Manage Docker secrets

44
Q

docker service

A

Manage services

45
Q

docker stack

A

Manage Docker stacks

46
Q

docker start

A

Start one or more stopped containers

47
Q

docker stats

A

Display a live stream of container(s) resource usage statistics

48
Q

docker stop

A

Stop one or more running containers

49
Q

docker swarm

A

Manage Swarm

50
Q

docker system

A

Manage Docker

51
Q

docker tag

A

Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE

52
Q

docker top

A

Display the running processes of a container

53
Q

docker trust

A

Manage trust on Docker images

54
Q

docker unpause

A

Unpause all processes within one or more containers

55
Q

docker update

A

Update configuration of one or more containers

56
Q

docker version

A

Show the Docker version information

57
Q

docker volume

A

Manage volumes

58
Q

docker wait

A

Block until one or more containers stop, then print their exit codes