2024-04-19 13:52:15 +02:00
|
|
|
# pve-docker
|
2024-04-19 13:51:44 +02:00
|
|
|
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
|
2024-04-19 13:51:44 +02:00
|
|
|
TOO IN THE DOCKER-COMPOSE.YML!!
|
|
|
|
|
|
|
|
## 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
|
|
|
|
sudo docker compose --project-directory socat build
|
|
|
|
```
|
|
|
|
|
|
|
|
## Testing
|
2024-04-19 13:54:15 +02:00
|
|
|
Now that they are built you can run this:
|
2024-04-19 13:51:44 +02:00
|
|
|
```bash
|
|
|
|
docker compose up
|
|
|
|
```
|
|
|
|
And to test Socat, just run this:
|
|
|
|
```bash
|
|
|
|
docker compose --project-directory socat up
|
|
|
|
```
|
|
|
|
If everything seems fine (no errors), then you can run them with -d!
|
|
|
|
|
|
|
|
# Contributors
|
|
|
|
- DRAGONTOS
|
|
|
|
|
|
|
|
|