Container shortcuts for developers

By Bachir Chihani and Rafael Benevides

Updated: 2/11/2019

With this Containers Cheat Sheet, learn the specifics of container architecture through the use of docker CLI. Simplify tasks by mastering client, runtime, registry, as well as related container commands.

In this Containers Cheat Sheet find:

  • Detailed overview of container architecture

  • Engine, image, registry, volume, and network related commands

  • Example of running a web server container in a RHEL environment

Containers Cheat Sheet

Gain access to container commands now

Understanding docker CLI

#Run a container in interactive mode:

#Run a bash shell inside an image

$ docker run -it rhel7/rhel bash

#Check the release inside a container

[root@.../]# cat /etc/redhat-release 

Gain access to container commands now

Containers intro