The telnet in the Alpine image has been moved to the busybox-extras package after version 3.7 and needs to be installed separately using apk. Phenomenon Alpine version is 3.8, no longer has a telent pointing to busybox ~ # cat /etc/alpine-release 3.8.0 ~ # ~ # ls /usr/bin/ |grep -w busybox |grep telnet ~ # reason Confirmed the related issue discovery, this change has already occurred in Alpine 3.7: https://github.com/gliderlabs/docker-alpine/issues/397 correspond Use apk to install apk update /var/atlassian/jira # apk update fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz v3.8.0-28-g923d74cddf [http://dl-cdn.alpinelinux.org/alpine/v3.8/main] v3.8.0-28-g923d74cddf [http://dl-cdn.alpinelinux.org/alpine/v3.8/community] OK: 9536 distinct packages available /var/atlassian/jira # apk add busybox-extras /var/atlassian/jira # apk add busybox-extras (1/1) Installing busybox-extras (1.28.4-r1) Executing busybox-extras-1.28.4-r1.post-install Executing busybox-1.28.4-r0.trigger OK: 133 MiB in 76 packages /var/atlassian/jira # Confirm after installation Confirm the telnet installation path /var/atlassian/jira # which telnet /usr/bin/telnet /var/atlassian/jira # ~ # ls -l /usr/bin/telnet lrwxrwxrwx 1 root root 19 Jul 24 01:40 /usr/bin/telnet -> /bin/busybox-extras ~ # ls /bin/busybox Confirm Action When the network is connected, telnet can communicate with the SMTP server. ~ # telnet smtp.163.com 25 220 163.com Anti-spam GT for Coremail System (163com[20141201]) HELO liumiaocn 250 OK Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links You may also be interested in:
|
<<: Sample code for highlighting search keywords in WeChat mini program
>>: mysql 5.7.5 m15 winx64.zip installation tutorial
Recently, when I was learning how to use webpack,...
There are many attributes in CSS. Some attributes...
cursor A cursor is a method used to view or proce...
First, perform a simple Docker installation. To c...
1. Introduction to Apache Bench ApacheBench is a ...
Table of contents 1. Node builds HTTP server 2. H...
Hyperlink, also called "link". Hyperlin...
Table of contents 1. Initialization structure 2. ...
Skip the Docker installation steps 1. Pull the po...
When using CSS pseudo-elements to control element...
As a lightweight open source database, MySQL is w...
tcpdump is a flexible and powerful packet capture...
Preface Arrays are a special kind of object. Ther...
Share a real-time clock effect implemented with n...
Table of contents 1. Database master-slave classi...