See Microsoft Open source, compatible, broad-minded, very happy, today study Docker, view the Ubuntu kernel version, found that 2.3 is a bit low, does not conform to the current version.
Minimum kernel version requires 3.10.
Upgrade the Ubuntu kernel.
First of all
Download Kernel website https://www.kernel.org/
Copy Https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.43.tar.xz
You can choose whichever version is right for you.
Under/usr/src/kernels/in Linux
#wget HTTPS://WWW.KERNEL.ORG/PUB/LINUX/KERNEL/V3.X/LINUX-3.14.43.TAR.XZ
Unzip after download is complete
# TAR-XJVF LINUX-3.14.43.TAR.XZ
OK, install the installation package GCC and Ncurses-devel
# yum-y Install gcc Ncurses-devel
Then switch directories to/usr/src/kernels/linux-3.16.1
#make Help
The Help contains Menuconfig
Execute menuconfig command appears graphic
#make Menuconfig
Choose Save
Enter
OK enter
Enter exit
Continue execution
#make
If there are errors, such as
Make[1]: Nothing to is done for ' all '.
Make[1]: Nothing to is done for ' Relocs '.
CHK Include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
Call scripts/checksyscalls.sh
CHK include/generated/compile.h
MAKE[3]: ' Arch/x86/realmode/rm/realmode.bin ' is up to date.
BC kernel/timeconst.h
/bin/sh:bc:command not found
MAKE[1]: * * * [kernel/timeconst.h] Error 127
Make: * * * [kernel] Error 2
is because a successful BC is not installed
#yum-y Install BC
After the installation is complete, perform
#make
Compile the kernel to generate the module files. Wait a long time
Execute make when finished to generate kernel files and module files
#make All
Execute Make Modules_install installation module
#make Install
Restart
#shutdown-R 0
Select a new kernel boot
View current kernel,
#uname-R
Ubuntu Upgrade Kernel