Docker Basic Command

서재환·2022년 2월 11일
0

Docker

목록 보기
2/12

Docker basic command

docker version [OPTIONS]

Show the Docker version information
docker info

configuration values of engine(server)
docker ps(Process Status)

docker ps basically shows all of the Docker processes actively running
docker ps -a lists all containers both running and stopped
docker top

Display the running processes of a container

Docker's top command allows users to display the ps output for the 
main process of a given container ID or name
ps aux

The ps aux command is a tool to monitor processes running on your 
Linux system. A process is associated with any program running on 
your system, and is used to manage and monitor a program's memory 
usage, processor time, and I/O resources.
docker command line structure

old version
	docker <command> (options)
	
    > docker run
    
new version
	docker <command> <sub-command> (options)
    
    > docker container run

0개의 댓글