Telnet is moved to busybox-extras in Alpine image

Telnet is moved to busybox-extras in Alpine image

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:
  • Implementation of tomcat image created with dockerfile based on alpine
  • Implementation of crawler Scrapy image created by dockerfile based on alpine
  • How to build php-nginx-alpine image from scratch in Docker
  • How to deploy tomcat in batches with ansible
  • Sample code for installing Ansible under Centos
  • Python ansible service and script writing
  • Ansible as a Python module library method example
  • Detailed tutorial on using the Linux automated operation and maintenance tool Ansible
  • Cluster operation and maintenance automation tool Ansible uses playbook to install the zabbix client
  • How to add ansible service in alpine image

<<:  Sample code for highlighting search keywords in WeChat mini program

>>:  mysql 5.7.5 m15 winx64.zip installation tutorial

Recommend

Example code of vue custom component to implement v-model two-way binding data

In the project, you will encounter custom public ...

Example of how to deploy a Django project using Docker

It is also very simple to deploy Django projects ...

JavaScript uses setTimeout to achieve countdown effect

In order to enhance the ability to write JavaScri...

Scoring rules of YSlow, a webpage scoring plugin developed by Yahoo

YSlow is a page scoring plug-in developed by Yaho...

MySQL master-slave data is inconsistent, prompt: Slave_SQL_Running: No solution

This article uses an example to describe the solu...

MySQL 8.0.12 Quick Installation Tutorial

The installation of MySQL 8.0.12 took two days an...

How to install and deploy ftp image server in linux

Refer to the tutorial on setting up FTP server in...

What are Web Slices?

IE8 new feature Web Slices (Web Slices) Microsoft...

How to build a complete samba server in Linux (centos version)

Preface smb is the name of a protocol that can be...

Basic installation process of mysql5.7.19 under winx64 (details)

1. Download https://dev.mysql.com/downloads/mysql...

zabbix custom monitoring nginx status implementation process

Table of contents Zabbix custom monitoring nginx ...

Web page custom selection box Select

Everyone may be familiar with the select drop-dow...

HTML table markup tutorial (15): table title

<br />This tag can be used to directly add a...

Implementation of react loop data (list)

First, let's simulate the data coming from th...