GNU/Linux Kali Docker Tutorial for Beginners

May 18, 2021 | By the+gnu+linux+evangelist.

Making Containers

  1. 2. Installing Docker

    How to Install Docker on Kali Easy Guide

    Docker Installation Guide
  2. 3. Exploring Docker Commands

    Now to Explore Docker Commands
    First, to show the Help play:

    sudo docker help

    Again to Display Help for a single Command:

    sudo docker help [dockerCommand]

    Example for the create command:

    sudo docker help create
  3. 4. Creating Docker Container

    How to Create Docker Containers
    With this we’ll Pull the Docker Images from the Docker Repositories:
    (Although it’s possible to Install a Local Docker Image…)

    sudo 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.

  4. 5. Listing Docker Containers

    To List the Docker Instance
    To List All:

    sudo docker ps -a

    And only the Running ones:

    sudo docker ps

Contents


QuickChic Theme • Powered by WordPress