<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Docker%3A_Using_Docker</id>
	<title>Docker: Using Docker - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Docker%3A_Using_Docker"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Docker:_Using_Docker&amp;action=history"/>
	<updated>2026-05-04T18:44:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Docker:_Using_Docker&amp;diff=12151&amp;oldid=prev</id>
		<title>David: Created page with &quot;This guide assumes docker is installed and the service is running;   == Version etc == &lt;syntaxhighlight&gt; # For system-wide information on docker: sudo docker info  # For docker version:...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Docker:_Using_Docker&amp;diff=12151&amp;oldid=prev"/>
		<updated>2016-02-17T11:51:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This guide assumes docker is installed and the service is running;   == Version etc == &amp;lt;syntaxhighlight&amp;gt; # For system-wide information on docker: sudo docker info  # For docker version:...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This guide assumes docker is installed and the service is running; &lt;br /&gt;
&lt;br /&gt;
== Version etc ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
# For system-wide information on docker:&lt;br /&gt;
sudo docker info&lt;br /&gt;
&lt;br /&gt;
# For docker version:&lt;br /&gt;
sudo docker version&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Search for Docker images ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
docker search centos&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Pulling down a Docker Image ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@blade02 ~]# docker pull centos&lt;br /&gt;
latest: Pulling from centos&lt;br /&gt;
47d44cb6f252: Pull complete &lt;br /&gt;
838c1c5c4f83: Pull complete &lt;br /&gt;
5764f0a31317: Pull complete &lt;br /&gt;
60e65a8e4030: Pull complete &lt;br /&gt;
centos:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.&lt;br /&gt;
Digest: sha256:8072bc7c66c3d5b633c3fddfc2bf12d5b4c2623f7004d9eed6aae70e0e99fbd7&lt;br /&gt;
Status: Downloaded newer image for centos:latest&lt;br /&gt;
&lt;br /&gt;
# OR &lt;br /&gt;
docker pull ubuntu&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Show Images locally installed ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@blade02 ~]# docker images&lt;br /&gt;
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE&lt;br /&gt;
centos              latest              60e65a8e4030        7 weeks ago         196.6 MB&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run a Docker Container ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
docker run -i -t centos /bin/bash&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Check Docker Processes Running (on Server) ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@blade02 ~]# docker ps&lt;br /&gt;
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES&lt;br /&gt;
540a25cda4af        centos              &amp;quot;/bin/bash&amp;quot;         11 seconds ago      Up 9 seconds                            compassionate_pike   &lt;br /&gt;
8f88fb204119        ubuntu              &amp;quot;/bin/bash&amp;quot;         8 minutes ago       Up 8 minutes                            sick_lalande  &lt;br /&gt;
&lt;br /&gt;
# and to show non-running containers &lt;br /&gt;
docker ps -l   &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Stop and Remove a Container ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
# get the container ID; &lt;br /&gt;
[root@blade02 ~]# docker ps -l &lt;br /&gt;
CONTAINER ID        IMAGE               COMMAND             CREATED              STATUS              PORTS               NAMES&lt;br /&gt;
540a25cda4af        centos              &amp;quot;/bin/bash&amp;quot;         About a minute ago   Up About a minute                       compassionate_pike   &lt;br /&gt;
[root@blade02 ~]# docker stop 540a25cda4af&lt;br /&gt;
540a25cda4af&lt;br /&gt;
[root@blade02 ~]# docker rm 540a25cda4af&lt;br /&gt;
540a25cda4af&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
</feed>