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

Linux: How to Create Windows Bootable USB Drive Via CLI

Creating a Linux bootable USB on a GNU/Linux machine is too easy, especially via GUI.…

Error: 502 Gateway Error

Explanation: 502 Gateway Error generally means connection problems with an upstream proxy. In this instance,…

PowerShell: Remove Virtual Machine Snapshots in VMM

Base Cmdlets: $vmmServer='SOMETHINGHERE' $vmName='VMNAMEHERE' $snapshots=Get-SCVMCheckpoint -vmmserver $vmmServer -vm $(get-scvirtualmachine $vmName) $snapshots|%{Remove-SCVMCheckpoint -VMCheckpoint $_} Automation: #…
Other project: DragonCoin.com