---
title: Containerization
author: Brad Kuhnle
description: reference sheet for docker commands
published: 2025-02-20
---

# Containerization
## Docker Commands

1. ### docker pull/run

    - the pull command will pull the specefied container. from docker hub.
    - run will run the container.

1. ### docker ps -a

    - ps will list all active containers.
    - -a will show all containers.


    ![example image of docker ps -a beining used](https://final-project-brad.s3.us-east-1.amazonaws.com/image_2025-02-18_172810458.png)


1. ### docker start/stop

    - start will start any container specified.


    ![example image of docker start beining used](https://final-project-brad.s3.us-east-1.amazonaws.com/Screenshot+2025-02-18+172527.png)
    
    
    - stop will stop any container specified.

1. ### docker run -it --name container-name ubuntu

    - this will create and run a container with the name you specify.
