Install Docker desktop on win10 and install mysql in docker

Steps:

install docker

  1. Go to the official website to download and install the software;

select windows

insert image description here
2. Click Install one by one;
after the installation is complete, there is no need to log in, just start it directly;

If there is a prompt to update wsl, execute the following command to update:
wsl --update
wsl --status View status

  1. Verify
    the applicable command:

docker run hello-world

insert image description here

  1. Set up domestic mirroring
    insert image description here

docker install mysql

  1. Pull mysql image

docker pull mysql

Je suppose que tu aimes

Origine blog.csdn.net/weixin_42551921/article/details/132140598
conseillé
Classement