发布网友 发布时间:2022-02-26 21:30
共2个回答
热心网友 时间:2022-02-26 22:59
进入Linux后,使用Docker命令下载MySQL,命令如:dockerpullmysql:5.7运行该命令后,则会显示以下日志:5.7:Pullingfrommysql4c8cbfd2973e:Pullcomplete60c52dbe9d91:Pullcompletec2b0136be90f:Pullcomplete273cd71eacf0:Pullcomplete543ff72402d8:Pullcompletef928e22e58b0:Pullcomplete2d1023ecaed4:Pullcomplete059dbbef4dd8:Pullcompleteac0ee0367a32:Pullcompletea9057a689e83:Pullcomplete5191ddfc3b01:Pullcomplete6e2ce31eb835:Pullcomplete099dc92e9b15:Pullcomplete7b4030a6b20b:Pullcompletefdb9c2185fc2:Alreadyexistsmysql:5.7:Theimageyouarepullinghasbeenverified.Important:imageverificationisatechpreviewfeatureandshouldnotbereliedontoprovidesecurity.Digest:sha256:d00f3f3cd30d0e8ad9bdf8ba61729ee1a4b6fe84a0fbb95f07dc2668a4cb5d08Status:Downloadednewerimageformysql:5.7下载需要一段时间,下载完毕后,启动Docker容器。热心网友 时间:2022-02-27 00:17
如果将来数据库服务也在容器中提供,