Runc: Difference between revisions
Prabuanand (talk | contribs) (based on posting in https://irclogs.alpinelinux.org/%23alpine-linux-2025-07.log by user Donno at https://tpaste.us/gbvy) |
(No difference)
|
Revision as of 15:36, 4 July 2025
Runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. This page provides instructions to setup containers using runc.
![]() Do not follow instructions here until this notice is removed. |
Set up a minimal container
# apk add runc
# mkdir /opt/busybox-container
# apk --arch x86_64 -X https://dl-cdn.alpinelinux.org/alpine/edge/main/ --root /opt/busybox-container/rootfs --initdb --no-cache --allow-untrusted add busybox
# cd /opt/busybox-container && runc spec
# cd /opt/busybox-container
# runc run busybox-1