Skip to content

How to Persist VM State (e.g., Proxy Settings) with Docker Provider? #11

@bmz-q-q

Description

@bmz-q-q

Hi there,

Thank you for your excellent work on this project.

I am using the DockerProvider and need to configure a proxy inside the guest VM for it to access the internet. This is necessary for tasks that involve web interaction, such as solving a reCAPTCHA.

My core problem is that any changes I make inside the VM are lost every time the Docker container is stopped and restarted.

I found the proxy guideline here: https://github.com/xlang-ai/OSWorld/blob/main/PROXY_GUIDELINE.md. However, it seems to be written specifically for the VMware provider, and I couldn't find a similar guide for the Docker-based setup.

So, my main question is:

What is the recommended way to save the state of the QEMU VM when using the Docker provider, so that my configuration changes (like proxy settings) are persisted across restarts?

I was also wondering if you have encountered similar challenges with proxy configurations or reCAPTCHA tests and if there's a known workaround for the Docker provider.

Thank you for your time and any help you can provide!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions