Sign inSign up

google85/qemu-docker

By google85

Updated over 2 years ago

Docker Qemu VNC that runs Windows XP or any other ISO based OS via Docker!

Image
Operating systems
2

3.4K

google85/qemu-docker repository overview

Run Windows XP in Docker container!

Getting started:
  • copy an xp.iso ISO image in current dirrectory

  • create / download a copy of my docker-compose.yml file:

    # download from the GitHub
    wget https://raw.githubusercontent.com/google85/qemu-docker/master/docker-compose.yml
    
    # or
    cat <<EOF | tee docker-compose.yml
    version: "3.6"
    services:
        win-xp:
            image: google85/qemu-docker:win-xp
            container_name: win-xp
            environment:
            - USER=root
            - PASSWORD=password1
            volumes:
            - .:/isos
            ports:
            - 8888:80
    EOF
    
  • Open a terminal and type:

    docker compose up -d
    
  • You will then be able to open a browser page via this URL: http://localhost:8888/vnc.html

  • Run in the browser's terminal [using the provided Clipboard app from VNC]:

    qemu-img create -f vpc /isos/xp.vhd 20G
    # ==> this will create a max 20 GB hdd file `xp.vhd`
    ls -al /isos
    
    # run:
    qemu-system-i386 -cpu pentium -m 2G  -hda /isos/xp.vhd -cdrom /isos/xp.iso -boot d -nic user,model=e1000,hostfwd=tcp::8888-:80 -soundhw ac97
    # ==> starts virtual machine in boot mode
    
  • URL: link

Tag summary

Content type

Image

Digest

sha256:e82f18eda

Size

609.3 MB

Last updated

over 2 years ago

docker pull google85/qemu-docker:win-xp