Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Docker FAQ

  • Prepare environment

    docker start <container_name>               # start particular container
    docker start -i <container_name>            # start particular container in interactive mode
    docker stop <container_name>                # stop particular container
    docker ps                                   # display all running containers
    docker ps -a                                # display all existing containers (stopped)
    docker exec -it <container_name> /bin/bash  # join to the container via bash
    docker rm <container_name>                  # remove particular container
    docker rmi <image_name>                     # remove particular image
    docker pull <image_name>                    # download particular image from the remote repository (NC Artifactory, dockerhub, etc)  
  • Monitoring

    # Display on-line information regarding system usage (CPU,RAM,IO) per container    
    docker stats $(docker ps --format '{{.Names}}')        
    docker stats $(docker ps | awk '{if(NR>1) print $NF}')
  • Cheat sheet

  • Basics

Morty Proxy This is a proxified and sanitized view of the page, visit original site.