Difference between revisions of "Alpine Linux"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
# 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 ==

Revision as of 10:50, 17 November 2023

Advertising: