短描述

A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size!

Docker Pull 命令

docker pull library/alpine

完整描述

# Supported tags and respective `Dockerfile` links\n\n-\t[`3.6` (*versions/library-3.6/x86_64/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/2e882bdc813175bb450fd34c3745071c2a912945/versions/library-3.6/x86_64/Dockerfile)\n-\t[`3.7` (*versions/library-3.7/x86_64/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/2e371309a9b5dbbfd018c95ad481fc0d6d2e5e2d/versions/library-3.7/x86_64/Dockerfile)\n-\t[`3.8`, `latest` (*versions/library-3.8/x86_64/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/2bfe6510ee31d86cfeb2f37587f4cf866f28ffbc/versions/library-3.8/x86_64/Dockerfile)\n-\t[`edge` (*versions/library-edge/x86_64/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/00fc418baa5a63ccb31a5b8187407998e13a7dd7/versions/library-edge/x86_64/Dockerfile)\n-\t[`3.1` (*versions/library-3.1/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/73f3f0ed1588e657d8e0eba0dd5650f9ff53943b/versions/library-3.1/Dockerfile)\n-\t[`3.2` (*versions/library-3.2/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/09f09a4304673126703a9309d3d52db2ea25817d/versions/library-3.2/Dockerfile)\n-\t[`3.3` (*versions/library-3.3/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/86bac9e6b247a2327b5915ab88d2b1791b96847f/versions/library-3.3/Dockerfile)\n-\t[`3.4` (*versions/library-3.4/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/236558862619cbc7b7429c528d941b57692d85f3/versions/library-3.4/Dockerfile)\n-\t[`3.5` (*versions/library-3.5/Dockerfile*)](https://github.com/gliderlabs/docker-alpine/blob/787fad45d5e39920c8090488945faf43ff1cd9e4/versions/library-3.5/Dockerfile)\n\n# Quick reference\n\n-\t**Where to get help**: \n\t[the Docker Community Forums](https://forums.docker.com/), [the Docker Community Slack](https://blog.docker.com/2016/11/introducing-docker-community-directory-docker-community-slack/), or [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=docker)\n\n-\t**Where to file issues**: \n\t[https://github.com/gliderlabs/docker-alpine/issues](https://github.com/gliderlabs/docker-alpine/issues)\n\n-\t**Maintained by**: \n\t[Glider Labs](https://github.com/gliderlabs/docker-alpine) (an Alpine community contributor)\n\n-\t**Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64)) \n\t[`amd64`](https://hub.docker.com/r/amd64/alpine/), [`arm32v6`](https://hub.docker.com/r/arm32v6/alpine/), [`arm64v8`](https://hub.docker.com/r/arm64v8/alpine/), [`i386`](https://hub.docker.com/r/i386/alpine/), [`ppc64le`](https://hub.docker.com/r/ppc64le/alpine/), [`s390x`](https://hub.docker.com/r/s390x/alpine/)\n\n-\t**Published image artifact details**: \n\t[repo-info repo\'s `repos/alpine/` directory](https://github.com/docker-library/repo-info/blob/master/repos/alpine) ([history](https://github.com/docker-library/repo-info/commits/master/repos/alpine)) \n\t(image metadata, transfer size, etc)\n\n-\t**Image updates**: \n\t[official-images PRs with label `library/alpine`](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2Falpine) \n\t[official-images repo\'s `library/alpine` file](https://github.com/docker-library/official-images/blob/master/library/alpine) ([history](https://github.com/docker-library/official-images/commits/master/library/alpine))\n\n-\t**Source of this description**: \n\t[docs repo\'s `alpine/` directory](https://github.com/docker-library/docs/tree/master/alpine) ([history](https://github.com/docker-library/docs/commits/master/alpine))\n\n-\t**Supported Docker versions**: \n\t[the latest release](https://github.com/docker/docker-ce/releases/latest) (down to 1.6 on a best-effort basis)\n\n# What is Alpine Linux?\n\n[Alpine Linux](https://alpinelinux.org/) is a Linux distribution built around [musl libc](https://www.musl-libc.org/) and [BusyBox](https://www.busybox.net/). The image is only 5 MB in size and has access to a [package repository](https://pkgs.alpinelinux.org/) that is much more complete than other BusyBox based images. This makes Alpine Linux a great image base for utilities and even production applications. [Read more about Alpine Linux here](https://alpinelinux.org/about/) and you can see how their mantra fits in right at home with Docker images.\n\n![logo](https://raw.githubusercontent.com/docker-library/docs/781049d54b1bd9b26d7e8ad384a92f7e0dcb0894/alpine/logo.png)\n\n# How to use this image\n\n## Usage\n\nUse like you would any other base image:\n\n```dockerfile\nFROM alpine:3.7\nRUN apk add --no-cache mysql-client\nENTRYPOINT ["mysql"]\n```\n\nThis example has a virtual image size of only 36.8MB. Compare that to our good friend Ubuntu:\n\n```dockerfile\nFROM ubuntu:18.04\nRUN apt-get update \\\n && apt-get install -y --no-install-recommends mysql-client \\\n && rm -rf /var/lib/apt/lists/*\nENTRYPOINT ["mysql"]\n```\n\nThis yields us a virtual image size of about 145MB image.\n\n## Documentation\n\nThis image is well documented. [Check out the documentation at Viewdocs](http://gliderlabs.viewdocs.io/docker-alpine).\n\n# License\n\nView [license information](https://pkgs.alpinelinux.org) for the software contained in this image.\n\nAs with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).\n\nSome additional license information which was able to be auto-detected might be found in [the `repo-info` repository\'s `alpine/` directory](https://github.com/docker-library/repo-info/tree/master/repos/alpine).\n\nAs for any pre-built image usage, it is the image user\'s responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
版本名称 创建时间 最后更新时间
latest 2018年9月4日 19:13 2018年7月6日 23:40
3.8 2018年9月4日 19:13 2018年7月6日 23:40
3.5 2018年9月4日 19:13 2018年7月6日 22:42
3.4 2018年9月4日 19:13 2018年7月6日 22:42
3.3 2018年9月4日 19:13 2018年7月6日 22:41
3.2 2018年9月4日 19:13 2018年7月6日 22:41
3.1 2018年9月4日 19:13 2018年7月6日 22:41
edge 2018年9月4日 19:13 2018年7月6日 22:41
3.7 2018年9月4日 19:13 2018年7月6日 22:40
3.6 2018年9月4日 19:13 2018年7月6日 22:40
2.7 2018年9月4日 19:13 2016年2月3日 03:50
2.6 2018年9月4日 19:13 2016年2月3日 03:50
No Dockerfiles