Posted On March 31, 2019

Docker Alpine OpenSSH-Client

kimconnect 0 comments
blog.KimConnect.com >> Linux , Virtualization >> Docker Alpine OpenSSH-Client
# Run Alpine
docker run --privileged --restart always --name alpine alpine:latest

# Run these commands from inside container
docker run -it --rm ssh-client /bin/ash
apk update && apk add --no-cache openssh-client
echo '172.x.x.x ssh.kimconnect.com' >> /etc/hosts

# install telnet
apk add busybox-extras
busybox-extras telnet

# Install shellinabox
apk add --no-cache shellinabox --repository https://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted

# mysql-client
apk add --no-cache mysql-client --repository https://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to expand volume of a linux virtual machine residing in a ESXi host

1. Power off VM2. Expand volume size3. Power on VM4. Confirm new volume size# fdisk…

Virtual Machine Queue: Assigning Processors to Network Interfaces

Microsoft Hyper-V Virtual Machine Queuing is useful to maximize high-bandwidth network cards. However, configuring this…

How To Setup ClamAV Antivirus Scanner in Kubernetes

Assumptions: A Kubernetes cluster is already setupThese are installed prior: Helm, MetalLB Load Balancer,A static…