Home > Operation and Maintenance > Docker > What system is boot2docker?

What system is boot2docker?

青灯夜游
Release: 2021-12-30 15:28:20
Original
4547 people have browsed it

Boot2Docker is a lightweight Linux distribution designed specifically for Docker. It is an operating system used to solve the problem that Windows or OS X users cannot install Docker. Boot2Docker runs completely in memory, is 24M in size, and only takes 5-6 seconds to start.

What system is boot2docker?

The operating environment of this tutorial: linux5.9.8 system, docker-1.13.1 version, Dell G3 computer.

Boot2Docker is a lightweight Linux distribution based on Tiny Core Linux. It is an operating system that solves the problem that Windows or OS X users cannot install Docker. Boot2Docker is specially prepared for Docker, runs completely in memory, is 24M in size, and only takes 5-6 seconds to start.

Boot2Docker needs to run in VirtualBox. For specific installation, please refer to the official documentation (https://github.com/boot2docker/boot2docker#installation).


Step one: Download bootdocker2.exe and install it

https://github.com/boot2docker/windows- installer/releases

After the installation is complete, there will be a startup script on the desktop. Opening it will start the virtual machine vbox and run the boot2docker inside. Here

Note: This system is only a readable system, and changes to the system will not be retained. For example, if I execute: mkdir, work, and then restart, I will not see the wrok folder, but all the docker images and operations will be retained. On the virtual hard disk, it will not be lost.

Step 2: Mount the shared folder

This system has a default mounting mechanism

Share name: c/User will be mounted to /c/Users

What system is boot2docker?

Look at the picture: In this way, I map /c/Users in the virtual machine to E:\virual\docker (its share name is c/Users)

There are some more below:
Users Mount to /Users
/Users Mount to /Users
c/Users Mount to /c/Users
/c/Users Mount to /c/Users
c:/Users Mount to /c/Users

In this way, the windows directory is mounted to boot2docker. The next step is docker.

Recommended learning: "docker video tutorial"

The above is the detailed content of What system is boot2docker?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template