官术网_书友最值得收藏!

Obtaining public images from Docker Hub

The default registry is Docker Hub. This is configured by default, and it serves as the main source of public images. You can access it freely in https://hub.docker.com/ and search for available images to base your images on:

Each image has information about the way to use it and the tags that are available. You don't need to download the images independently, just to use the name of the image or run a docker pull command. Docker will automatically pull from Docker Hub if no other registry is specified:

The name of the image is also the one to use in our FROM command in Dockerfiles. 

Docker is a fantastic way of distributing a tool. It's very common right now for an open source tool to have an official image in Docker Hub that can be downloaded and started in a standalone model, standardizing the access.

This can be used either for a quick demo, for something such as Ghost— https://hub.docker.com/_/ghost (a blogging platform), or a Redis ( https://hub.docker.com/_/redis) instance to act as cache with minimal work. Try to run the Ghost example locally.
主站蜘蛛池模板: 土默特左旗| 泰和县| 肥乡县| 讷河市| 郧西县| 大竹县| 凤山县| 龙井市| 利津县| 敦煌市| 阿拉善左旗| 江西省| 达州市| 石渠县| 新沂市| 固镇县| 库尔勒市| 泾川县| 西峡县| 凌海市| 陇南市| 嘉黎县| 冷水江市| 洪泽县| 毕节市| 新沂市| 龙门县| 海安县| 简阳市| 萝北县| 揭东县| 临城县| 建湖县| 淮滨县| 上思县| 于都县| 崇仁县| 西昌市| 洛扎县| 钟祥市| 郁南县|