Saya menggunakan Windows 7, VirtualBox 5.0.4, Docker toolbox 1.9.0. Ketika saya menjalankan quickstart saya mendapatkan:
Creating Machine default...
Running pre-create checks...
Creating machine...
Error creating machine: Error in driver during machine creation: Maximum number of retries (5) exceeded
Looks like something went wrong... Press any key to continue...
Tapi saya mendapatkan VM 'default' yang berjalan ketika saya membuka VirtualBox dan melihatnya. Di VBox.log saya, saya melihat (file lengkap ada di sini ):
00:00:00.696246 HM: HMR3Init: VT-x w/ nested paging and unrestricted guest execution hw support
Jadi mungkin dukungan VT-X tidak masalah bagi saya. Tepat di akhir file log saya melihat sesuatu yang tidak menyenangkan tentang D-Bus tidak diinstal:
00:00:46.950561 VMMDev: Guest Log: 00:00:10.018836 vminfo Error: Unable to connect to system D-Bus (3/3): D-Bus not installed
Masalah D-Bus telah dilaporkan di sini https://github.com/docker/toolbox/issues/214 Ketika saya menjalankan quickstart lagi secara langsung setelah ini, saya mendapatkan pesan kesalahan tentang mendapatkan alamat IP:
Machine default already exists in VirtualBox.
Setting environment variables for machine default...
Error running connection boilerplate: Error getting driver URL: Something went wrong running an SSH command!
command : ip addr show dev eth1
err : exit status 255
output :
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
Error getting IP address: Something went wrong running an SSH command!
command : ip addr show dev eth1
err : exit status 255
output :
docker is configured to use the default machine with IP
For help getting started, check out the docs at https://docs.docker.com
NOTE: When using interactive commands, prepend winpty. Examples: 'winpty docker run -it ...', 'winpty docker exec -it ...'.
Dan jika saya menjalankan perintah, saya mendapatkan pesan lain yang berhubungan dengan menghubungkan:
$ winpty docker run hello-world
An error occurred trying to connect: Post http://localhost:2375/v1.21/containers
/create: dial tcp 127.0.0.1:2375: ConnectEx tcp: No connection could be made because the target machine actively refused it.
Pada titik ini saya pergi ke https://www.virtualbox.org/wiki/Testbuilds dan mendapatkan VirtualBox 5.0.9, dan kemudian menghapus Docker Toolboox, menghapus VM default dan direktori .docker, dan menginstal ulang Toolbox, dan menginstal kembali Jalankan, dan dapatkan masalah yang sama:
Creating Machine default...
Creating CA: C:\Users\marwick\.docker\machine\certs\ca.pem
Creating client certificate: C:\Users\marwick\.docker\machine\certs\cert.pem
Running pre-create checks...
Creating machine...
Error creating machine: Error in driver during machine creation: Maximum number of retries (5) exceeded
Looks like something went wrong... Press any key to continue...
File log untuk upaya ini ada di sini: http://pastebin.com/9VjD9t6P
Bagaimana saya bisa membuatnya bekerja?