aboutsummaryrefslogtreecommitdiffstats
path: root/site/-dockervm.html
diff options
context:
space:
mode:
authorCristian Cezar Moisés <[email protected]>2024-02-18 06:36:15 +0000
committerGitHub <[email protected]>2024-02-18 06:36:15 +0000
commitac2d73a8675d1fffc547b32fc108035d86f60b5d (patch)
tree817f6e0f43a22813d4db664061fe042d55912421 /site/-dockervm.html
parent58212f9ad69609bde3a4871e227704f6de7e510b (diff)
Delete site directory
Diffstat (limited to 'site/-dockervm.html')
-rw-r--r--site/-dockervm.html2
1 files changed, 0 insertions, 2 deletions
diff --git a/site/-dockervm.html b/site/-dockervm.html
deleted file mode 100644
index ca1300e..0000000
--- a/site/-dockervm.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<!DOCTYPE html><head><meta charset="utf-8" /><meta name="description" content="C.C.M. personal website" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>📦 DockerVM — C.C.M. Homepage</title><link rel="stylesheet" href="/css/default.css" /></head><body><header><div id="block"><p>+&gt;---------------------------&lt;+</p><p>[<a href="/about.html">About</a>]--[<a href="/research.html">Research</a>]--[<a href="/projects.html">Projects</a>]</p><p>+&gt;---------------------------&lt;+</p><br /></div></header><div id="block"><h1>📦 DockerVM</h1><div>February 18, 2024</div><div><h2>Use docker like Qemu/VmWare/Virtualbox</h2><p><div style="text-align: center"><img src="/images/dockervm.png" /></div></p><h3>[<a href="/download/exherbo.sh">Exherbo</a>]</h3><h3>[<a href="/download/fedora.sh">Fedora</a>]</h3><h3>[<a href="/download/kali.sh">Kali</a>]</h3><h3>[<a href="/download/void.sh">Void</a>]</h3><h3>ACCESS THE SYSTEM IN THE CONTAINER</h3><div id="code"><pre style="overflow: auto"><code> docker run -it IMAGE_ID_HERE /bin/bash</code></pre></div><h3>START ALL STOPPED CONTAINERS</h3><div id="code"><pre style="overflow: auto"><code> docker start $(docker ps -a -q --filter &quot;status=exited&quot;)</code></pre></div><h3>RUN THE LAST STOPPED CONTAINER:</h3><div id="code"><pre style="overflow: auto"><code> docker start -a -i 'docker ps -q -l'</code></pre></div><h3>LIST ALL IMAGES</h3><div id="code"><pre style="overflow: auto"><code> docker images</code></pre></div><h3>LIST ALL CONTAINERS</h3><div id="code"><pre style="overflow: auto"><code> docker ps -a</code></pre></div><h3>RE-ACCESS THE SYSTEMS</h3><div id="code"><pre style="overflow: auto"><code> docker exec -it CONTAINER_ID_HERE /bin/bash</code></pre></div><h1>NOVNC</h1><h3>GRAPHICAL INTERFACE</h3><div id="code"><pre style="overflow: auto"><code>apt install xfce-desktop xorg -y</code></pre></div><h3>CONFIGURE A PASSWORD FOR ROOT ON KALI</h3><p>passwd</p><h3>FIREWALL - HOST CONFIG</h3><div id="code"><pre style="overflow: auto"><code>iptables -A INPUT -i docker0 -j ACCEPT</code></pre></div><h3>CONFIG FOR KALI LINUX</h3><div id="code"><pre style="overflow: auto"><code>apt update &amp;&amp; apt upgrade &amp;&amp; apt install novnc x11vnc tigervnc-standalone-server dbus-x11 python-py python3-pip -y</code></pre></div><h3>NUMPY INSTALL</h3><div id="code"><pre style="overflow: auto"><code>user &gt; pip install numpy
-user &gt; pip3 install numpy</code></pre></div><h3>START DBUS</h3><div id="code"><pre style="overflow: auto"><code>dbus-launch</code></pre></div><h3>START VNCSERVER</h3><div id="code"><pre style="overflow: auto"><code>vncserver</code></pre></div><h3>START NOVNC</h3><p>/usr/share/novnc/utils/novnc_proxy --listen 8081 --vnc localhost:5900</p><h3>ACESS VIA BROWSER</h3><p>CONTAINER_IP:8081/vnc.html</p><h3>FIX SOME HOSTNAME BUGS</h3><p>echo $(hostname -I | cut -d\ -f1) $(hostname) | sudo tee -a /etc/hosts</p></div></div><footer><div id="block"><br /><p>+&gt;---------------------------&lt;+</p><div>[<a href="https://github.com/cristiancmoises">GitHub</a>]--[<a href="https://www.linkedin.com/in/cristiancezarmoises">LinkedIn</a>]</div><div>[<a href="https://orcid.org/0000-0001-9533-4916">ORCID</a>]--[<a href="https://arxiv.org/search/?">ArXiv</a>]--[<a href="https://youtube.com/@securityops">Youtube</a>]</div><p>© 2024 Cristian Cezar Moises</p><p>[<a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>]</p><p>Built with [<a href="http://haunt.dthompson.us">Haunt</a>] in [<a href="https://www.gnu.org/software/guile/guile.html">Scheme</a>]</p><p>+&gt;---------------------------&lt;+</p></div></footer></body> \ No newline at end of file