<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.completenoobs.com/noobs/index.php?action=history&amp;feed=atom&amp;title=CompleteNoobs_Docker_Image_0.2_Install_Basics</id>
	<title>CompleteNoobs Docker Image 0.2 Install Basics - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.completenoobs.com/noobs/index.php?action=history&amp;feed=atom&amp;title=CompleteNoobs_Docker_Image_0.2_Install_Basics"/>
	<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=CompleteNoobs_Docker_Image_0.2_Install_Basics&amp;action=history"/>
	<updated>2026-04-30T03:38:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=CompleteNoobs_Docker_Image_0.2_Install_Basics&amp;diff=675&amp;oldid=prev</id>
		<title>AwesomO: /* Create directory for file sharing */</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=CompleteNoobs_Docker_Image_0.2_Install_Basics&amp;diff=675&amp;oldid=prev"/>
		<updated>2025-09-02T14:31:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Create directory for file sharing&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:31, 2 September 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Create directory for file sharing ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Create directory for file sharing ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* If you do not create this &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;file &lt;/del&gt;- docker will create one for you when you run the &amp;lt;code&amp;gt;docker run&amp;lt;/code&amp;gt; command.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* If you do not create this &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;directory &lt;/ins&gt;- docker will create one for you when you run the &amp;lt;code&amp;gt;docker run&amp;lt;/code&amp;gt; command.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** If docker run creates the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;file&lt;/del&gt;, you will not have permissions to send data to that directory.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** If docker run creates the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;directory&lt;/ins&gt;, you will not have permissions to send data to that directory.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Change permission&amp;#039;s if that happens &amp;lt;code&amp;gt;sudo chmod 777 ~/wiki-container&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Change permission&amp;#039;s if that happens &amp;lt;code&amp;gt;sudo chmod 777 ~/wiki-container&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;mkdir ~/wiki-container&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;mkdir ~/wiki-container&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
	<entry>
		<id>https://www.completenoobs.com/noobs/index.php?title=CompleteNoobs_Docker_Image_0.2_Install_Basics&amp;diff=674&amp;oldid=prev</id>
		<title>AwesomO: Created page with &quot; * Requires docker installed on system  == Download image== * Download the completenoobs container image. &lt;code&gt;docker pull completenoobs/cnoobs-wiki:0.2&lt;/code&gt;  == Create directory for file sharing == * If you do not create this file - docker will create one for you when you run the &lt;code&gt;docker run&lt;/code&gt; command. ** If docker run creates the file, you will not have permissions to send data to that directory. ** Change permission&#039;s if that happens &lt;code&gt;sudo chmod 777...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.completenoobs.com/noobs/index.php?title=CompleteNoobs_Docker_Image_0.2_Install_Basics&amp;diff=674&amp;oldid=prev"/>
		<updated>2025-09-02T14:31:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; * Requires docker installed on system  == Download image== * Download the completenoobs container image. &amp;lt;code&amp;gt;docker pull completenoobs/cnoobs-wiki:0.2&amp;lt;/code&amp;gt;  == Create directory for file sharing == * If you do not create this file - docker will create one for you when you run the &amp;lt;code&amp;gt;docker run&amp;lt;/code&amp;gt; command. ** If docker run creates the file, you will not have permissions to send data to that directory. ** Change permission&amp;#039;s if that happens &amp;lt;code&amp;gt;sudo chmod 777...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
* Requires docker installed on system&lt;br /&gt;
&lt;br /&gt;
== Download image==&lt;br /&gt;
* Download the completenoobs container image.&lt;br /&gt;
&amp;lt;code&amp;gt;docker pull completenoobs/cnoobs-wiki:0.2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Create directory for file sharing ==&lt;br /&gt;
* If you do not create this file - docker will create one for you when you run the &amp;lt;code&amp;gt;docker run&amp;lt;/code&amp;gt; command.&lt;br /&gt;
** If docker run creates the file, you will not have permissions to send data to that directory.&lt;br /&gt;
** Change permission&amp;#039;s if that happens &amp;lt;code&amp;gt;sudo chmod 777 ~/wiki-container&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;mkdir ~/wiki-container&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Run image ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
docker run -d -p 8080:80 \&lt;br /&gt;
  -v ~/wiki-container:/export \&lt;br /&gt;
  -v completenoobs_mysql:/var/lib/mysql \&lt;br /&gt;
  -v completenoobs_images:/var/www/html/images \&lt;br /&gt;
  --name completenoobs_wiki \&lt;br /&gt;
  completenoobs/cnoobs-wiki:0.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Download XMl ==&lt;br /&gt;
&lt;br /&gt;
* https://xml.completenoobs.com/xmlDumps/&lt;br /&gt;
Download an xml file, like:&amp;lt;code&amp;gt;01_09_25.Noobs.xml&amp;lt;/code&amp;gt;&lt;br /&gt;
* Move to &amp;lt;code&amp;gt;~/wiki-container/&amp;lt;/code&amp;gt; directory&lt;br /&gt;
&lt;br /&gt;
== Import XML ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;docker exec completenoobs_wiki /var/www/html/import_wiki.sh /export/01_09_25.Noobs.xml&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Check Wiki ==&lt;br /&gt;
* In browser go to this address&lt;br /&gt;
&amp;lt;code&amp;gt;http://localhost:8080&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
{{:Restore_the_completenoobs_Main_Page}}&lt;br /&gt;
&lt;br /&gt;
==Change Admin Password==&lt;br /&gt;
&lt;br /&gt;
* Can be done with &amp;#039;Web Browser GUI&amp;#039; or &amp;#039;Terminal&amp;#039;&lt;br /&gt;
* Default Password for user &amp;lt;b&amp;gt;Admin&amp;lt;/b&amp;gt; = &amp;lt;code&amp;gt;AdminPass123!&amp;lt;/code&amp;gt;&lt;br /&gt;
=== Via Web Interface ===&lt;br /&gt;
1. Login at http://localhost:8080&lt;br /&gt;
2. Click username → Preferences&lt;br /&gt;
3. Go to Password tab&lt;br /&gt;
4. Change password&lt;br /&gt;
&lt;br /&gt;
=== Via Terminal ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
docker exec -it completenoobs_wiki bash&lt;br /&gt;
php /var/www/html/maintenance/run.php changePassword.php --user=admin --password=NEWPASSWORD&lt;br /&gt;
exit&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Export a backup of your wiki==&lt;br /&gt;
* This will create a backup of your wiki to a dated.xml file &amp;lt;code&amp;gt;20250902_wiki_export.xml&amp;lt;/code&amp;gt;, which you can find in your &amp;lt;code&amp;gt;~/wiki-container&amp;lt;/code&amp;gt; directory on host, or &amp;lt;code&amp;gt;/export/&amp;lt;/code&amp;gt; directory in container.&lt;br /&gt;
&amp;lt;code&amp;gt;docker exec completenoobs_wiki /var/www/html/export_wiki.sh&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Remove container==&lt;br /&gt;
&lt;br /&gt;
To completely remove the &amp;lt;code&amp;gt;completenoobs/cnoobs-wiki:0.1&amp;lt;/code&amp;gt; container and image from your Ubuntu 24.04 system, follow these steps. &amp;lt;br&amp;gt;&lt;br /&gt;
You can also remove associated persistent storage volumes if they were created.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step 1: Stop and Remove the Container&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If the container is running, stop it and then remove it.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
docker stop completenoobs_wiki&lt;br /&gt;
docker rm completenoobs_wiki&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Alternatively, stop and remove in one command:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
docker rm -f completenoobs_wiki&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step 2: Remove the Docker Image&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Remove the &amp;lt;code&amp;gt;completenoobs/cnoobs-wiki:0.2&amp;lt;/code&amp;gt; image.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
docker rmi completenoobs/cnoobs-wiki:0.2&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Note: If the image is in use by other containers, remove those containers first or use &amp;lt;code&amp;gt;docker rmi -f completenoobs/cnoobs-wiki:0.1&amp;lt;/code&amp;gt; to force removal (use with caution).&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step 3: Remove Persistent Storage Volumes (Optional)&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
If you used persistent storage, remove the associated volumes to free up space.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
docker volume rm completenoobs_mysql completenoobs_images&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
Note: Ensure no other containers are using these volumes, as this will delete all stored data.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Step 4: Verify Removal&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Check that the container, image, and volumes are removed.&amp;lt;br&amp;gt;&lt;br /&gt;
- List all containers (including stopped ones):&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
docker ps -a&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
- List all images:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
docker images&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
- List all volumes:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
docker volume ls&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
If any items remain, repeat the relevant removal commands or check for dependencies.&lt;/div&gt;</summary>
		<author><name>AwesomO</name></author>
	</entry>
</feed>