[root@Carlota2 ~]# docker pull hello-world
Using default tag: latest
latest: Pulling from library/hello-world
0e03bdcc26d7: Pull complete
Digest: sha256:7f0a9f93b4aa3022c3a4c147a449bf11e0941a1fd0bf4a8e6c9408b2600777c5
Status: Downloaded newer image for hello-world:latest
2、docker images 查看本地鏡像 確認
[root@Carlota2 ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
hello-world latest bf756fb1ae65 8 months ago 13.3kB
3、docker run hello-world 運行Hello World鏡像
Hello from Docker!
This message shows that your installation appears to be working correctly.To generate this message, Docker took the following steps:1. The Docker client contacted the Docker daemon.2. The Docker daemon pulled the "hello-world" image from the Docker Hub.(amd64)3. The Docker daemon created a new container from that image which runs theexecutable that produces the output you are currently reading.4. The Docker daemon streamed that output to the Docker client, which sent itto your terminal.To try something more ambitious, you can run an Ubuntu container with:$ docker run -it ubuntu bashShare images, automate workflows, and more with a free Docker ID:https://hub.docker.com/For more examples and ideas, visit:https://docs.docker.com/get-started/
大家都知道SET NAMES x相當于SET character_set_client x;SET character_set_results x;SET character_set_connection x;
以下從MySQL5.0官方文檔上摘錄了相關內容,并翻譯,說明了相關系統變量的用處:
What character set is the statem…
一、數據庫操作
1、查詢數據庫,命令如下:
SHOW DATABASES;2、我們可以在登陸 MySQL 服務后,使用 create 命令創建數據庫,命令格式:
CREATE DATABASE 數據庫名;3、使用 drop 命令刪除數據庫,命令格式:
drop databas…