mirror of
https://github.com/izzy2lost/docker-android.git
synced 2026-06-19 01:16:28 -07:00
Add information about SSHing to the virtual machine
This commit is contained in:
+10
-5
@@ -39,7 +39,12 @@ The following instructions are used for OS X. You'll need [docker-machine-parall
|
|||||||
|
|
||||||
4. Enable kvm inside virtual machine
|
4. Enable kvm inside virtual machine
|
||||||
|
|
||||||
4.0 Check kvm version
|
4.0 SSH to the machine
|
||||||
|
```bash
|
||||||
|
docker-machine ssh vmware-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
4.1 Check kvm version
|
||||||
```bash
|
```bash
|
||||||
# version
|
# version
|
||||||
$ 10.1
|
$ 10.1
|
||||||
@@ -47,23 +52,23 @@ The following instructions are used for OS X. You'll need [docker-machine-parall
|
|||||||
|
|
||||||
Go to http://tinycorelinux.net/10.x/x86_64/tcz/ and check your kvm version, for version 10.1 is kvm-4.19.10-tinycore64.tcz
|
Go to http://tinycorelinux.net/10.x/x86_64/tcz/ and check your kvm version, for version 10.1 is kvm-4.19.10-tinycore64.tcz
|
||||||
|
|
||||||
4.1. Run as an account other than root to install kvm packages using tce-load.
|
4.2. Run as an account other than root to install kvm packages using tce-load.
|
||||||
```bash
|
```bash
|
||||||
# su docker
|
# su docker
|
||||||
$ tce-load -wi kvm-4.19.10-tinycore64.tcz
|
$ tce-load -wi kvm-4.19.10-tinycore64.tcz
|
||||||
```
|
```
|
||||||
|
|
||||||
4.2. Run as root to load kvm module after kvm packages install.
|
4.3. Run as root to load kvm module after kvm packages install.
|
||||||
```bash
|
```bash
|
||||||
$ sudo modprobe kvm_intel
|
$ sudo modprobe kvm_intel
|
||||||
```
|
```
|
||||||
|
|
||||||
4.3. Check if the kvm device is loaded.
|
4.4. Check if the kvm device is loaded.
|
||||||
```bash
|
```bash
|
||||||
$ ls /dev/kvm
|
$ ls /dev/kvm
|
||||||
```
|
```
|
||||||
|
|
||||||
4.4. Check if your CPU supports hardware virtualization now
|
4.5. Check if your CPU supports hardware virtualization now
|
||||||
```bash
|
```bash
|
||||||
$ egrep -c '(vmx|svm)' /proc/cpuinfo
|
$ egrep -c '(vmx|svm)' /proc/cpuinfo
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user