Docker-OSX
Docker-OSX copied to clipboard
How to open qemu console in headless image?
after docker run
(qemu) vnc change password
# password setting...
# at this point, I could connect with VNC viewer.
(qemu) q # exit qemu console
container stopped.
docker start <headless container>
container started.
and.. how can I access the qemu console? It seems that the VNC password gets reset upon exiting the qemu console.
Ah, I meant to kill the container, not exit the qemu console.
But even if the container is killed, how do I return to the qemu console?
I tried docker exec -i <contianer name> qemu-system-x86_64 -monitor stdio
But
Solved :+1:
docker start <container name>
docker attach <container name>
Awesome, you can also do docker start -ai
which attaches to the container upon starting it