Skip to content

Instantly share code, notes, and snippets.

@ipatch
Created June 28, 2018 01:08
Show Gist options
  • Save ipatch/5995058bb256ca0a601debb750489203 to your computer and use it in GitHub Desktop.
Save ipatch/5995058bb256ca0a601debb750489203 to your computer and use it in GitHub Desktop.
create docker machine using qemu driver
(qemu-test) DBG | executing: qemu-system-x86_64 -display none -m 1024 -smp 1 -boot d -cdrom /Users/capin/.docker/machine/machines/qemu-test/boot2docker.iso -qmp unix:/Users/capin/.docker/machine/machines/qemu-test/monitor,server,nowait -pidfile /Users/capin/.docker/machine/machines/qemu-test/qemu.pid -nic user,model=virtion-net-pci,hostfwd=tcp::50981-:22,hostfwd=tcp::50982-:2376,hostname=qemu-test -daemonize /Users/capin/.docker/machine/machines/qemu-test/disk.qcow2
(qemu-test) OUTPUT:
(qemu-test) ERROR: qemu-system-x86_64: -nic user,model=virtion-net-pci,hostfwd=tcp::50981-:22,hostfwd=tcp::50982-:2376,hostname=qemu-test: invalid option
(qemu-test) DBG | STDOUT:
(qemu-test)
(qemu-test) DBG | STDERR: qemu-system-x86_64: -nic user,model=virtion-net-pci,hostfwd=tcp::50981-:22,hostfwd=tcp::50982-:2376,hostname=qemu-test: invalid option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment