Upload files to "/"

main
Cristian Cezar Moisés 2024-10-20 20:14:54 +00:00
parent c4d28f4334
commit bbf27fb75d
7 changed files with 54 additions and 2 deletions

View File

@ -1,3 +1,17 @@
# dockervm # DOCKERVM
Just some docker commands to use docker like VmWare/Virtualbox
Docker VM ![image](https://github.com/cristiancmoises/dockervm/assets/86272521/ab87b45c-4139-4f58-b0da-04811fba3a46)
# ACCESS THE SYSTEM IN THE CONTAINER
docker run -it IMAGE_ID_HERE /bin/bash
# START ALL STOPPED CONTAINERS
docker start $(docker ps -a -q --filter "status=exited")
# RUN THE LAST STOPPED CONTAINER:
docker start -a -i 'docker ps -q -l'
# LIST ALL IMAGES
docker images
# LIST ALL CONTAINERS
docker ps -a
# RE-ACCESS THE SYSTEMS
docker exec -it CONTAINER_ID_HERE /bin/bash

1
exherbo.sh Normal file
View File

@ -0,0 +1 @@
docker pull exherbo/exherbo-x86_64-pc-linux-gnu-base

1
fedora.sh Normal file
View File

@ -0,0 +1 @@
docker pull fedora

1
kali.sh Normal file
View File

@ -0,0 +1 @@
docker pull kalilinux/kali-bleeding-edge

22
novnc.txt Normal file
View File

@ -0,0 +1,22 @@
# GRAPHICAL INTERFACE
apt install xfce-desktop xorg -y
# CONFIGURE A PASSWORD FOR ROOT ON KALI
passwd
# FIREWALL - HOST CONFIG
iptables -A INPUT -i docker0 -j ACCEPT
# CONFIG FOR KALI LINUX
apt update && apt upgrade && apt install novnc x11vnc tigervnc-standalone-server dbus-x11 python-py python3-pip -y
# NUMPY INSTALL
user > pip install numpy
user > pip3 install numpy
# START DBUS
dbus-launch
# START VNCSERVER
vncserver
# START NOVNC
/usr/share/novnc/utils/novnc_proxy --listen 8081 --vnc localhost:5900
# ACESS VIA BROWSER
CONTAINER_IP:8081/vnc.html
# THAT'S ALL :)
# FIX SOME HOSTNAME BUGS
echo $(hostname -I | cut -d\ -f1) $(hostname) | sudo tee -a /etc/hosts

12
tutorial.txt Normal file
View File

@ -0,0 +1,12 @@
# ACCESS THE SYSTEM IN THE CONTAINER
docker run -it IMAGE_ID_HERE /bin/bash
# START ALL STOPPED CONTAINERS
docker start $(docker ps -a -q --filter "status=exited")
# RUN THE LAST STOPPED CONTAINER:
docker start -a -i 'docker ps -q -l'
# LIST ALL IMAGES
docker images
# LIST ALL CONTAINERS
docker ps -a
# RE-ACCESS THE SYSTEMS
docker exec -it CONTAINER_ID_HERE /bin/bash

1
void.sh Normal file
View File

@ -0,0 +1 @@
docker pull voidlinux/voidlinux