From LedHed's Wiki
(Created page with "== Overview == This is a list of common commands used to manage docker. For a complete command reference go here: https://docs.docker.com/engine/reference/commandline/docker/...") |
(No difference)
|
Revision as of 16:00, 4 April 2020
Contents
Overview
This is a list of common commands used to manage docker. For a complete command reference go here: https://docs.docker.com/engine/reference/commandline/docker/
List All Containers
docker container list -a
Enter Container's Shell
docker exec -it MyContainer /bin/bash
MyContainer = the name of the container you want to access
Start Container
docker start MyContainer
Start All Stopped Containers
docker start $(docker ps -a -q -f status=exited)
Version
docker --version