Home > Article > Operation and Maintenance > Can docker be installed on Android?
Can Android install docker?
Android can install docker. The installation method is:
It is divided into five steps to complete the establishment of the Android development environment.
Step one: Install JDK.
To download Oracle's JDK, you can use Baidu "JDK" to enter Oracle's JDK download page and select the corresponding version of your computer system.
Step 2: Configure the variable environment of the JDK on Windows.
The third step JAVA_HOME
First set the name of this system variable. The variable value is the installation path of JDK on the computer: C:\Program Files\Java\jdk1.8.0_20
. After creation, you can use %JAVA_HOME% as the unified reference path for the JDK installation directory.
Step 4 Path
The PATH attribute already exists and can be edited directly. Add after the original variable: ;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
.
Step 5 CLASSPATH
Set the system variable name: CLASSPATH variable value: .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools. jar
.
Note that there is a "." in front of the variable value string to indicate the current directory. The purpose of setting CLASSPATH is to tell the Java execution environment in which directories the classes or packages required for the Java program you want to execute can be found. .
Recommended tutorial: "docker video tutorial"
The above is the detailed content of Can docker be installed on Android?. For more information, please follow other related articles on the PHP Chinese website!