blog/source/_posts/binaries-alpine-docker.md

336 lines
3.2 KiB
Markdown
Raw Permalink Normal View History

---
title: Default binaries in Alpine docker image
excerpt: Here is the list of binaries shipped with the Docker image of Alpine Linux.
date: 2018-10-10
updated: 2021-01-08
tags:
- linux
- alpine
2020-10-21 01:20:33 +00:00
- busybox
---
Here is the list of binaries shipped with the Docker image of Alpine Linux `alpine:3.15`.
- acpid
- add-shell
2020-12-18 16:48:12 +00:00
- addgroup
- adduser
- adjtimex
- apk
- arch
- arp
- arping
- ash
- awk
- base64
- basename
- bbconfig
2020-12-18 16:48:12 +00:00
- bc
- beep
- blkdiscard
- blkid
- blockdev
- brctl
- bunzip2
- busybox
- bzcat
- bzip2
- cal
- cat
- chgrp
- chmod
- chown
- chpasswd
- chroot
- chvt
- cksum
- clear
- cmp
- comm
- cp
- cpio
- crond
- crontab
- cryptpw
- cut
- date
- dc
- dd
- deallocvt
- delgroup
- deluser
- depmod
- df
- diff
- dirname
- dmesg
- dnsdomainname
- dos2unix
- du
- dumpkmap
- echo
- ed
- egrep
- eject
- env
- ether-wake
- expand
- expr
- factor
- fallocate
- false
- fatattr
- fbset
- fbsplash
- fdflush
- fdisk
- fgrep
- find
- findfs
- flock
- fold
- free
- fsck
- fstrim
- fsync
- fuser
- getconf
- getent
- getopt
- getty
- grep
- groups
- gunzip
- gzip
- halt
- hd
- head
- hexdump
- hostid
- hostname
- hwclock
- iconv
- id
- ifconfig
- ifdown
- ifenslave
- ifup
- init
- inotifyd
- insmod
- install
- ionice
- iostat
- ip
- ipaddr
- ipcalc
- ipcrm
- ipcs
- iplink
- ipneigh
- iproute
- iprule
- iptunnel
- kbd_mode
- kill
- killall
- killall5
- klogd
- ldconfig
- ldd
- less
- link
- linux32
- linux64
- ln
- loadfont
- loadkmap
- logger
- login
- logread
- losetup
- ls
- lsmod
- lsof
- lsusb
- lzcat
- lzma
- lzop
- lzopcat
- makemime
- md5sum
- mdev
- mesg
- microcom
- mkdir
- mkdosfs
- mkfifo
- mkfs.vfat
- mkmntdirs
- mknod
- mkpasswd
- mkswap
- mktemp
- modinfo
- modprobe
- more
- mount
- mountpoint
- mpstat
- mv
- nameif
- nanddump
- nandwrite
- nbd-client
- nc
- netstat
- nice
- nl
- nmeter
- nohup
- nologin
- nproc
- nsenter
- nslookup
- ntpd
- od
- openvt
- partprobe
- passwd
- paste
- pgrep
- pidof
- ping
- ping6
- pipe_progress
2020-12-18 16:48:12 +00:00
- pivot_root
- pkill
- pmap
- poweroff
- printenv
- printf
- ps
- pscan
- pstree
- pwd
- pwdx
- raidautorun
- rdate
- rdev
- readahead
- readlink
- realpath
- reboot
- reformime
- remove-shell
- renice
- reset
- resize
- rev
- rfkill
- rm
- rmdir
- rmmod
- route
- run-parts
- scanelf
- sed
- sendmail
- seq
- setconsole
- setfont
- setkeycodes
- setlogcons
- setpriv
- setserial
- setsid
- sh
- sha1sum
- sha256sum
- sha3sum
- sha512sum
- showkey
- shred
- shuf
- slattach
- sleep
- sort
- split
- ssl_client
- stat
- strings
- stty
- su
- sum
- swapoff
- swapon
- switch_root
- sync
- sysctl
- syslogd
- tac
- tail
- tar
- tee
- test
- time
- timeout
- top
- touch
- tr
- traceroute
- traceroute6
- true
- truncate
- tty
- ttysize
- tunctl
- udhcpc
- udhcpc6
- umount
- uname
- unexpand
- uniq
- unix2dos
- unlink
- unlzma
- unlzop
- unshare
- unxz
- unzip
- uptime
- usleep
- uudecode
- uuencode
- vconfig
- vi
- vlock
- volname
- watch
- watchdog
- wc
- wget
- which
- whoami
- whois
- xargs
- xxd
- xzcat
- yes
- zcat
Above list is built using the following command:
{% codeblock script.sh lang:sh https://unix.stackexchange.com/a/120790 source %}
#!/bin/sh
IFS=":"
for i in $PATH
do
if [ -d "$i" ]; then
# -L follows symlinks
find -L "$i" -maxdepth 1 -executable -type f -exec basename {} \; 2> /dev/null || :
fi
done
2022-01-08 21:43:03 +00:00
{% endcodeblock %}