pve-docker/README.md

38 lines
971 B
Markdown
Raw Permalink Normal View History

2024-04-19 13:52:15 +02:00
# pve-docker
For running a proxmox server in a Docker container!
## Info
You might want to change the hostname in docker-compose.yml to something you like, and for Socat
2024-04-19 13:53:20 +02:00
You can change the './socat/data/socat.sh' and ips/ports you want to passtthrough. AND DONT FORGET TO DO THAT
TOO IN THE DOCKER-COMPOSE.YML!!
## Network setup
You can set up the network with this:
```bash
sudo docker network create --ipam-driver default --subnet 192.168.12.0/24 netvm
```
## Building the images
We first need to build the images to do this:
```bash
sudo docker compose build
```
And you will need to do that too for Socat. Just run this:
```bash
2024-04-19 13:56:42 +02:00
cd socat && sudo docker compose build && cd ..
```
## Testing
2024-04-19 13:54:15 +02:00
Now that they are built you can run this:
```bash
2024-04-19 13:56:42 +02:00
sudo docker compose up
```
And to test Socat, just run this:
```bash
2024-04-19 13:56:42 +02:00
cd socat && sudo docker compose up && cd ..
```
If everything seems fine (no errors), then you can run them with -d!
# Contributors
- DRAGONTOS
2024-04-19 15:39:36 +02:00
- feddar