search
HomeOperation and MaintenanceWindows Operation and MaintenanceSeveral points to note when using docker under Windows 7

This article brings you some introductions about what you need to pay attention to when using docker under Windows 7. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. .

1. Docker toolbox is installed instead of Docker Desktop

2. Docker Toolbox is implemented by creating a virtualBox virtual machine. The virtual disk of the virtual machine is in C:\Users\username\ by default. Under .docker, if there is not much space left on your system disk, errors will occur when you use it later. You can use the virtual media management in virtualBox to move to other disks

3. Use Docker Quickstart Terminal to run the service and then turn it off (of course it can be used directly here, but I cannot copy it on this command line) and paste), then open git bash where you need to run the command

4. If your docker-compose folder is not under C:\Users\username\.docker, then you need to go to virtualBox Set up shared folders. For example, the path is D:\docker, the shared folder name is d/docker, and the fixed mount and automatic allocation are checked. After shutting down the virtual machine, just use Docker Quickstart Terminal to start it again.

5. Docker's port mapping is only mapped to the virtual machine, and port forwarding needs to be set before it can be accessed. Forward port 80 of the virtual machine to 127.0.0.2, so that you can access it using 127.0.0.2 without occupying port 80 of the local machine.

Several points to note when using docker under Windows 7

Summary: It is best to use docker desktop of win10, it is estimated that there will not be so many problems. As long as you remember that win7 docker runs under a virtual box virtual machine, many problems can be solved.

This article has ended here. For more other exciting content, you can pay attention to the docker video tutorial column on the PHP Chinese website!

The above is the detailed content of Several points to note when using docker under Windows 7. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:segmentfault. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version