<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
		<id>https://1984.lsi.us.es/wiki-egc/index.php?action=history&amp;feed=atom&amp;title=Modificando_una_imagen</id>
		<title>Modificando una imagen - Historial de revisiones</title>
		<link rel="self" type="application/atom+xml" href="https://1984.lsi.us.es/wiki-egc/index.php?action=history&amp;feed=atom&amp;title=Modificando_una_imagen"/>
		<link rel="alternate" type="text/html" href="https://1984.lsi.us.es/wiki-egc/index.php?title=Modificando_una_imagen&amp;action=history"/>
		<updated>2026-04-13T01:27:39Z</updated>
		<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://1984.lsi.us.es/wiki-egc/index.php?title=Modificando_una_imagen&amp;diff=8782&amp;oldid=prev</id>
		<title>Jagalindo: Página creada con «Podemos modificar una imagen existente y guardarla con un nombre diferente:  &lt;syntaxhighlight lang=&quot;sh&quot;&gt; # docker run -it ubuntu bash root@d66f7a3268e6:/#  &lt;/syntaxhighligh...»</title>
		<link rel="alternate" type="text/html" href="https://1984.lsi.us.es/wiki-egc/index.php?title=Modificando_una_imagen&amp;diff=8782&amp;oldid=prev"/>
				<updated>2020-11-18T17:19:37Z</updated>
		
		<summary type="html">&lt;p&gt;Página creada con «Podemos modificar una imagen existente y guardarla con un nombre diferente:  &amp;lt;syntaxhighlight lang=&amp;quot;sh&amp;quot;&amp;gt; # docker run -it ubuntu bash root@d66f7a3268e6:/#  &amp;lt;/syntaxhighligh...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Podemos modificar una imagen existente y guardarla con un nombre diferente:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
# docker run -it ubuntu bash&lt;br /&gt;
root@d66f7a3268e6:/# &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fijaros en que el prompt del interprete de ordenes ha cambiado e indica el numero que identifica de manera unica al contenedor que hemos lanzado. Este numero cambia para cada nueva instancia que lanzamos.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
root@d66f7a3268e6:/# apt-get update&lt;br /&gt;
root@d66f7a3268e6:/# apt-get install apache2&lt;br /&gt;
apt-get install apache2&lt;br /&gt;
Reading package lists... Done&lt;br /&gt;
Building dependency tree       &lt;br /&gt;
Reading state information... Done&lt;br /&gt;
The following additional packages will be installed:&lt;br /&gt;
  apache2-bin apache2-data apache2-utils ...&lt;br /&gt;
The following NEW packages will be installed:&lt;br /&gt;
  apache2 apache2-bin apache2-data apache2-utils ...&lt;br /&gt;
0 upgraded, 57 newly installed, 0 to remove and 4 not upgraded.&lt;br /&gt;
Need to get 22.6 MB/22.6 MB of archives.&lt;br /&gt;
After this operation, 102 MB of additional disk space will be used.&lt;br /&gt;
Do you want to continue? [Y/n] &lt;br /&gt;
...&lt;br /&gt;
root@d66f7a3268e6:/# &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Escribo 'Y' y pulso enter para comenzar la instalacion del servidor web apache2.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
root@d66f7a3268e6:/# exit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
# docker commit -m &amp;quot;Imagen de ubuntu con apache2&amp;quot; -a &amp;quot;profe&amp;quot; d66f7a3268e6 ubuntu/apache2&lt;br /&gt;
sha256:b68ef77405104a6ea2de6fde986a519a2fc9710b26d9ae8ec2553f5050c51fd3&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
# docker images&lt;br /&gt;
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE&lt;br /&gt;
ubuntu/apache2      latest              b68ef7740510        36 seconds ago      260MB&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sh&amp;quot;&amp;gt;&lt;br /&gt;
# docker run -it -p 8888:80 ubuntu/apache2&lt;br /&gt;
# service apache2 start&lt;br /&gt;
 * Starting Apache httpd web server apache2                                     AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message&lt;br /&gt;
 * &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Y ahora si abro un navegador web al localhost al puerto 8888, me aparece la pagina que indica que apache esta funcionando correctamente.&lt;/div&gt;</summary>
		<author><name>Jagalindo</name></author>	</entry>

	</feed>