0% found this document useful (0 votes)
41 views1 page

Docker Commands

The document contains a series of Docker commands executed in a terminal. These commands include running containers, listing images and containers, pulling images, stopping and removing containers, and pruning unused containers. The commands demonstrate basic Docker operations for managing images and containers, specifically with Ubuntu and CentOS images.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views1 page

Docker Commands

The document contains a series of Docker commands executed in a terminal. These commands include running containers, listing images and containers, pulling images, stopping and removing containers, and pruning unused containers. The commands demonstrate basic Docker operations for managing images and containers, specifically with Ubuntu and CentOS images.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

135 docker run -itd ubuntu

136 docker ps
137 docker ps -a
138 docker images
139 docker search centos
140 docker search ubuntu
141 docker pull centos
142 docker images
143 docker pull centos:7
144 docker images
145 docker ps
146 docker stop 832bc57574d6
147 docker ps
148 docker ps -a
149 docker run -itd ubuntu
150 docker ps
151 docker kill 1991f3bfd659
152 docker ps -a
153 docker ps
154 docker ps -a
155 docker rm 238e39371763
156 docker ps -a
157 docker rm silly_sinoussi
158 docker ps -a
159 docker container prune
160 docker ps -a
161 docker ps
162 ldocker images
163 docker images
164 docker rmi 300e315adb2f f643c72bc252 8652b9f0cb4c bf756fb1ae65
165 docker ps
166 docker images
167 docker run -itd ubuntu
168 docker ps
169 docker images
170 docker rmi f643c72bc252

You might also like