Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What happened to the sudden collapse of the Docker terminal?

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you about the sudden collapse of the Docker terminal, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to know it!

Docker as a good helper for test development, I believe you have heard of it even if you haven't used it.

What is Docker?

Docker is an open source application container engine that allows developers to package their applications and dependencies into a portable image, publish them to any popular Linux or Windows machine, and virtualize them. Containers are fully sandboxed and will not have any interface with each other.

To put it simply, you can think of Docker as a stand-alone micro-system in which you can do any experiments without worrying about polluting the host environment. This is of great help to the deployment of development projects and the construction of test environments. Origin

I was using Docker to debug some unknown test secrets when the Docker terminal crashed suddenly.

find

After investigation, it is found that disk C of the system has been floating red, and there is little available space left.

After investigation, the culprit was found:

It turns out that disk.vmdk files take up a lot of space. After consulting some of the relevant information, I learned that in the windows system, this file will only grow slowly with the use of Docker.

Solution idea

Since there is no room for you on disk C, let's banish you to disk E.

Specific step 1.

Copy the disk.vmdk file to disk E completely

two。

Reset the UUID of the disk.vmdk file on disk E (otherwise the next steps cannot be performed properly):

/ / enter the VirtualBox directory first and then execute:

VBoxManage internalcommands setvdiuuid E:/disk.vmdk

/ / Note that above virtualbox4.0.4, the command is changed to

VBoxManage internalcommands sethduuid E:/disk.vmdk

The output after running the command is as follows:

3.

Double-click to open Oracle VM VirtualBox

4.

Delete the original disk.vmdk file of disk C and set up a new virtual hard disk:

The newly added disk.vmdk file may not automatically assign virtual machines. Don't worry. At this time, let's click OK below.

Then select the virtual machine and click the location shown below to assign it.

5.

Then open the docker terminal and meet the lovely whale again.

6.

The space of disk C is finally released.

The above is all the contents of the article "what is the sudden collapse of the Docker terminal?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report