Skip to content
Snippets Groups Projects
Commit f819ee19 authored by Goik Martin's avatar Goik Martin
Browse files

Figure switches

parent b1a38d96
No related branches found
No related tags found
No related merge requests found
......@@ -288,20 +288,25 @@ Deleted: sha256:2c833f307fd8f18a378b71d3c43c575fabdb88955a2198662938ac2a08a99928
<section xml:id="sdiDocker_runningContainer_sect">
<title>Running container</title>
<figure xml:id="sdiDocker_fig_startNexctcloud">
<title>Starting <productname>Nextcloud</productname> container</title>
<screen>&gt; docker run -d -p 8080:80 --name nc13 nextcloud
517e3dba488763eb615f2c68d417e1b7fb3a9ce5bb4a5ffc346dcb86c00d13d2</screen>
</figure>
<figure xml:id="sdiDocker_figListContainer">
<title>Listing running containers</title>
<title>List running containers</title>
<screen>&gt; docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS ... NAMES
5a5efd5685a1 nextcloud "/entrypoint.sh…" 4 hours ago Exited (0) 42 hours ago ... nc13</screen>
CONTAINER ID IMAGE COMMAND ... PORTS NAMES
517e3dba4887 nextcloud "/entrypoint.sh apac…" ... 0.0.0.0:8080-&gt;80/tcp <emphasis
role="red">nc13</emphasis></screen>
</figure>
<figure xml:id="sdiDocker_figKillProcess">
<title>Remove container</title>
<screen>CONTAINER ID IMAGE ... NAMES
5a5efd5685a1 nextcloud ... <emphasis role="red">nc13</emphasis></screen>
<screen>&gt; docker rm <emphasis role="red">nc13</emphasis>
nc13</screen>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment