docker-alpine
docker-alpine copied to clipboard
Telnet not available in v3.7
The telnet command was somehow removed in version 3.7. Was that intentional, and if not, can that be fixed?
Works in 3.6:
➜ docker run -it alpine:3.6
/ # telnet
BusyBox v1.26.2 (2017-11-23 08:40:54 GMT) multi-call binary.
Usage: telnet [-a] [-l USER] HOST [PORT]
Connect to telnet server
-a Automatic login with $USER variable
-l USER Automatic login as USER
Doesn't work in 3.7:
➜ docker run -it alpine:3.7
/ # telnet
/bin/sh: telnet: not found
telnet was moved into subpackage busybox-extras
as of https://github.com/alpinelinux/aports/commit/23f4c6bd6c
@jumanjiman thanks
podtest:~# apk add busybox-extras
(1/1) Installing busybox-extras (1.27.2-r9)
Executing busybox-extras-1.27.2-r9.post-install
Executing busybox-1.27.2-r7.trigger
OK: 10 MiB in 22 packages
podtest:~# tel
-ash: tel: not found
podtest:~# busybox-extras
BusyBox v1.27.2 (2018-05-28 18:53:52 UTC) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed
copyright notices.
Usage: busybox [function [arguments]...]
or: busybox --list[-full]
or: busybox --install [-s] [DIR]
or: function [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
dnsd, fakeidentd, ftpd, ftpget, ftpput, httpd, inetd, readahead, telnet, telnetd, tftp, tftpd, udhcpd
podtest:~# busybox-extras telnet
BusyBox v1.27.2 (2018-05-28 18:53:52 UTC) multi-call binary.
Usage: telnet [-a] [-l USER] HOST [PORT]
Connect to telnet server
-a Automatic login with $USER variable
-l USER Automatic login as USER