Difference between revisions of "Alpine Linux"

From wikieduonline
Jump to navigation Jump to search
 
(8 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 [[systemd]]).
+
[[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>
+
# Upgrade Alpine: <code>[[apk upgrade --available]]</code>
 
# [[docker run alpine]]
 
# [[docker run alpine]]
  
Line 8: Line 10:
 
# 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>
 
# 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>
* [[Busybox]]
 
 
* [[Distroless]]
 
* [[Distroless]]
 
* <code>[[/etc/sysctl.conf]]</code>
 
* <code>[[/etc/sysctl.conf]]</code>
* [[FROM node:lts-alpine]]
+
* <code>[[FROM node:lts-alpine]]</code>
 +
* [[wget]]
  
 
== See also ==
 
== See also ==

Latest revision as of 16:56, 15 October 2024

Advertising: