Docter

285 2019-05-06 11:29:39

Microsoft Windows [版本 10.0.17134.706]
(c) 2018 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
hello-world         latest              eb68d2e2f59a        3 months ago        362MB

C:\Users\Administrator>docker pull mysql:5.7
5.7: Pulling from library/mysql
no matching manifest for unknown in the manifest list entries

C:\Users\Administrator>docker pull mysql:5.7
5.7: Pulling from library/mysql
27833a3ba0a5: Pull complete
864c283b3c4b: Pull complete
cea281b2278b: Pull complete
8f856c14f5af: Pull complete
9c4f38c23b6f: Pull complete
1b810e1751b3: Pull complete
5479aaef3d30: Pull complete
1d924ec3d520: Pull complete
1ab7ae63ac60: Pull complete
08aa5f3680e9: Pull complete
a832d0a0972a: Pull complete
Digest: sha256:dba5fed182e64064b688ccd22b2f9cad4ee88608c82f8cff21e17bab8da72b81
Status: Downloaded newer image for mysql:5.7

C:\Users\Administrator>docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
mysql               5.7                 98455b9624a9        3 weeks ago         391MB
hello-world         latest              eb68d2e2f59a        3 months ago        362MB

C:\Users\Administrator>docker run --name first-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=unismile -d mysql
Unable to find image 'mysql:latest' locally
latest: Pulling from library/mysql
27833a3ba0a5: Already exists
864c283b3c4b: Already exists
cea281b2278b: Already exists
8f856c14f5af: Already exists
9c4f38c23b6f: Already exists
1b810e1751b3: Already exists
5479aaef3d30: Already exists
ded8fa2e1614: Pull complete
636033ba4d2e: Pull complete
902e6010661d: Pull complete
dbe44d2bf055: Pull complete
e906385f419d: Pull complete
Digest: sha256:a7cf659a764732a27963429a87eccc8457e6d4af0ee9d5140a3b56e74986eed7
Status: Downloaded newer image for mysql:latest



docker run -p 3306:3306 --name mysql-01 -e MYSQL_ROOT_PASSWORD=password -d mysql:5.7
docker run -p 3306:3306 --name mysql5.7 -e MYSQL_ROOT_PASSWORD=password -d mysql:5.7
docker run -dit --name mysql5.7.21 -p 3306:3306 mysql/mysql-server:5.7.21 --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci
用户评价