Docker Quick Start on Ubuntu Linux
Hello Ubuntu User! The Tutorial Shows You Step-by-Step How to Getting-Started with Docker, Docker Engine and Docker Containers on Ubuntu GNU/Linux Desktop/Server.
Docker is a Client and Server App that makes it easy to utilize Linux Containers by providing a Standard Format for Building and Sharing those Containers.
The Docker Client is a Shell Tool that allows you to Interact with the Docker daemon by the Docker API.
A Container (UNIX technology) is a Modified Runtime Environment for a program that prevents that program from accessing protected resources except where explicitly allowed.
Linux Containers provide also the necessary Isolation between Apps to Eliminate Conflicts between runtime Dependencies and Configurations.
In this Guide I’ll display straightforwardly How to Create, Start, Stop, Kill, and Remove Docker Containers on Ubuntu.

-
Open a Shell session
Ctrl+Alt+t to open a Terminal emulator on Desktop
(Press “Enter” to Execute Commands) -
How to Install Docker on Ubuntu Easy Guide
-
Login as SuperUser
The default Docker Administration Requires this Privileges…sudo su
Then to Achieve this Session:
exit
-
Exploring Docker Commands
docker help
To Display Help for a single Command:
docker help [dockerCommand]
Example for the create command:
docker help create
-
How to Create Docker Containers
We’ll Pull the Docker Images from the Docker Repositories.
(Although it’s possible to Install a Local Docker Image…)docker create --name redis redis
This Create a Redis DB Image Named ‘redis’
The -p Flag is related to the Connecting Port
The -d Flag Detach the Instance and Run it on Background. -
To List the Docker Instance
To List All:docker ps -a
And only the Running ones:
docker ps
-
To Run Docker Containers
By ID:docker start [ID]
By Names:
docker start [NAME]
Example:
docker start redis
The Create & Run All-in-one Command Instead is:
docker run -d --name redis1 -p 1234 redis
-
To Stop & Kill Docker Containers
By ID:docker stop [ID]/[NAME]
By Names:
docker kill [ID]/[NAME]
Example:
docker stop redis
-
Remove/Delete a Docker Containers
docker rm [ID]/[NAME]
For Instance:
docker rm redis
-
How to Run and Start to Use Docker Linux Images
Tags: container linux, container ubuntu, create container linux, create container ubuntu, docker, docker container, docker container ubuntu, docker engine linux, docker engine ubuntu, docker linux, docker quickstart linux, docker quickstart ubuntu, docker ubuntu, manage container linux, manage container ubuntu