5 - Getting Docker Help from the Command Line
5 - Getting Docker Help from the Command Line
Username
The commands are organized into common commands and a more
exhaustive list grouped around the management of a specific component
student of Docker. You use each with a different syntax. For a common command,
the usage is:
Password
Copy code
Ca1_VRjAKmFO
1 docker command-name [options]
Download Download
Most of the common commands can be accessed in the short form or by
Bridge Connection specifying the management grouping they also fall under. Some commands
100% Completed are only available by specifying the management group. You will get the
hang of this and review a couple of the main concepts in the following
instructions.
Lab steps
Instructions
1 Logging In to the Amazon
Web Services Console 1. To see a list of the commands in Docker, simply enter:
Copy code
2 Connecting to the Virtual
Machine using EC2 1 docker --help
Instance Connect
The management commands and common commands are highlighted in
the image below:
3 Installing Docker on
Amazon Linux
Summary
In this lab step, you observed the command layout used by Docker. You
also reviewed the core Docker concepts of images and containers as well
as frequently used commands for each. You will see these commands in
action in the following lab steps.