docker-qemu-reactos icon indicating copy to clipboard operation
docker-qemu-reactos copied to clipboard

How persisten configuration and change network

Open dfpmola opened this issue 6 months ago • 1 comments

Hello,

How can I persist the system configuration, i.e. downloaded files, installed programs after restarting the container.

I also need to create another network card with a local ip, in order to port fordward, would it have to be configured from kvm and/or docker? I don't quite understand

And i need to create another NIC with a IP in my local network, any guide of how configure the kvm/docker to get that? Thanks in any case

dfpmola avatar Dec 28 '23 13:12 dfpmola

You need to persist the entire disk, which is located in /var/lib/qemu/disk/reacts.qcow2. You can define a volume for the /var/lib/qemu/disk/ directory, for example.

Regarding port forwarding, you can define the VM_NET_EXTRA_OPTIONS variable to add additional options, although this does not allow you to create a new NIC, it might work for your use case. If you want to forward a new port, you need to set this variable and also use the --publish option of Docker.

hectorm avatar Jan 21 '24 10:01 hectorm