Difference between revisions of "Alpine Linux"
Jump to navigation
Jump to search
↑ http://containertutorials.com/alpine/get_started.html
| (13 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | [[wikipedia:Alpine Linux|Alpine Linux]] is a [[Linux distribution]] based on [[musl]] and [[BusyBox]], designed to be small and resource efficiency, as of 2020 is around 6 MB. Alpine Linux uses <code>[[apk]]</code> [[package manager]] and [[OpenRC]] [[init]] system (not [[ | + | [[wikipedia:Alpine Linux|Alpine Linux]] is a [[Linux distribution]] based on [[musl]] and [[BusyBox]], designed to be small and resource efficiency, as of 2020 is around 6 MB. Alpine Linux uses <code>[[apk]]</code> [[package manager]] and [[OpenRC]] [[init]] system (not [[systems]]). |
| + | * Docker Hub: https://hub.docker.com/_/alpine | ||
| + | * <code>[[/etc/os-release]]</code> | ||
== Operations == | == Operations == | ||
| − | + | * Upgrade Alpine: <code>[[apk upgrade --available]]</code> | |
| + | ** <code>image: alpine/[[openssl]]</code> | ||
| + | |||
| + | * [[docker run alpine]] | ||
== Activities == | == Activities == | ||
# Run Alpine Linux in a docker container: <code>[[docker run -it alpine]] /bin/sh</code> ([[Bash]] is not supported in Alpine)<ref>http://containertutorials.com/alpine/get_started.html</ref> | # Run Alpine Linux in a docker container: <code>[[docker run -it alpine]] /bin/sh</code> ([[Bash]] is not supported in Alpine)<ref>http://containertutorials.com/alpine/get_started.html</ref> | ||
| + | # Connect to an existing pod (myalpine) in K8s: <code>[[kubectl exec -it myalpine -- /bin/sh]]</code> | ||
| + | # <code>[[kubectl run -it alpine --image=alpine -- sh]]</code> | ||
== Related terms == | == Related terms == | ||
| + | * [[Alpine Linux: df -kh]] | ||
* <code>[[ash]]</code> shell | * <code>[[ash]]</code> shell | ||
* [[RancherOS]] | * [[RancherOS]] | ||
* [[Fedora CoreOS]] | * [[Fedora CoreOS]] | ||
* <code>[[osinfo-query os]]</code> | * <code>[[osinfo-query os]]</code> | ||
| − | * [[AWS Bottlerocket]] | + | * [[AWS Bottlerocket]], [[Busybox]] |
* <code>[[docker pull alpine]]</code> | * <code>[[docker pull alpine]]</code> | ||
* <code>[[alpine/helm]]</code> | * <code>[[alpine/helm]]</code> | ||
| − | * [[ | + | * [[/alpine/terragrunt]] |
* [[Distroless]] | * [[Distroless]] | ||
* <code>[[/etc/sysctl.conf]]</code> | * <code>[[/etc/sysctl.conf]]</code> | ||
| + | * <code>[[FROM node:lts-alpine]]</code> | ||
| + | * [[wget]] | ||
== See also == | == See also == | ||
Latest revision as of 14:05, 16 June 2026
Alpine Linux is a Linux distribution based on musl and BusyBox, designed to be small and resource efficiency, as of 2020 is around 6 MB. Alpine Linux uses apk package manager and OpenRC init system (not systems).
- Docker Hub: https://hub.docker.com/_/alpine
/etc/os-release
Operations[edit]
- Upgrade Alpine:
apk upgrade --availableimage: alpine/openssl
Activities[edit]
- Run Alpine Linux in a docker container:
docker run -it alpine /bin/sh(Bash is not supported in Alpine)[1] - Connect to an existing pod (myalpine) in K8s:
kubectl exec -it myalpine -- /bin/sh kubectl run -it alpine --image=alpine -- sh
Related terms[edit]
- Alpine Linux: df -kh
ashshell- RancherOS
- Fedora CoreOS
osinfo-query os- AWS Bottlerocket, Busybox
docker pull alpinealpine/helm- /alpine/terragrunt
- Distroless
/etc/sysctl.confFROM node:lts-alpine- wget
See also[edit]
apk, [ add | list | upgrade | info | search ] apk --help- Alpine Linux, Red Hat Enterprise Linux CoreOS (RHCOS),
apk, addgroup, Debian slim, Bottlerocket, Busybox, Flatcar, Wolfi, alpine:latest,alpine/ - BusyBox, Almquist shell (ash), Alpine, Distroless, Wolfi OS,
library/busybox, Bottlerocket OS, Flatcar, Debian slim
Advertising: