Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to install telnet into a alpine docker container. This is useful when using the celery remote debugger in a dev environment.
>>> docker exec -it CONTAINERID /bin/sh
/app # telnet
/bin/sh: telnet: not found

/app # apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
v3.7.0-243-gf26e75a186 [http://dl-cdn.alpinelinux.org/alpine/v3.7/main]
v3.7.0-229-g087f28e29d [http://dl-cdn.alpinelinux.org/alpine/v3.7/community]
OK: 9051 distinct packages available

/app # apk add busybox-extras
(1/1) Installing busybox-extras (1.27.2-r11)
Executing busybox-extras-1.27.2-r11.post-install
Executing busybox-1.27.2-r7.trigger
OK: 77 MiB in 64 packages

/app # busybox-extras telnet localhost 6900

@codersofthedark
Copy link

codersofthedark commented Jul 27, 2020

Thanks

@Sam1370
Copy link

Sam1370 commented Jul 27, 2020

T
H
A
N
K
S

@M4rcus3000
Copy link

M4rcus3000 commented Sep 1, 2020

Thanks!!!

@pastorduran
Copy link

pastorduran commented Sep 1, 2020

thanks you

@krishnaarava
Copy link

krishnaarava commented Sep 10, 2020

thank you

@Tagliatti
Copy link

Tagliatti commented Sep 14, 2020

apk --update --no-cache add busybox-extras

@kumaran85
Copy link

kumaran85 commented Sep 24, 2020

Thanks a lot

@d0zingcat
Copy link

d0zingcat commented Sep 24, 2020

apk --update --no-cache add busybox-extras

awesome

@markpanado
Copy link

markpanado commented Oct 27, 2020

Thank you! Installed this just to run again telnet towel.blinkenlights.nl on iSH Shell on my iPad Pro {😻}

@mkbhanda
Copy link

mkbhanda commented Nov 6, 2020

thanks!

@sprasad09
Copy link

sprasad09 commented Nov 10, 2020

thanks!

@montaro
Copy link

montaro commented Dec 22, 2020

Thanks!

@nrobayo-stratio
Copy link

nrobayo-stratio commented Feb 4, 2021

thanks!!!

@scheinem
Copy link

scheinem commented Apr 1, 2021

Thanks!

@DouglasPioStudiare
Copy link

DouglasPioStudiare commented Apr 27, 2021

Thanks!

@EnsleyEC
Copy link

EnsleyEC commented Apr 30, 2021

Thanks

@aj-jwair
Copy link

aj-jwair commented May 3, 2021

Thank you

@PrudhvirajTirumanisetti

👍

@drrainlab
Copy link

drrainlab commented Jun 4, 2021

Thank you!

@kenkl
Copy link

kenkl commented Jun 10, 2021

Thanks!

@LoesterFranco
Copy link

LoesterFranco commented Jul 6, 2021

thanks

@ebidrey
Copy link

ebidrey commented Jul 15, 2021

nice, thanks

@jbaris
Copy link

jbaris commented Jul 28, 2021

Thank you!

@tshen-dev
Copy link

tshen-dev commented Aug 13, 2021

Thank you!

@hsadeghinejad
Copy link

hsadeghinejad commented Sep 8, 2021

Thanks!

@sebPomme
Copy link

sebPomme commented Sep 14, 2021

thanks

@junjie-landing
Copy link

junjie-landing commented Oct 15, 2021

Thx!!!!!

@rinogo
Copy link

rinogo commented Oct 23, 2021

Beautiful. THank you!

@abdulsamedkayaduman
Copy link

abdulsamedkayaduman commented Jan 3, 2022

thx (first comment at the year)

@Ryanb58
Copy link
Author

Ryanb58 commented Jan 6, 2022

I didn't realize this would be such a popular gist.

I'm happy that it's helped so many people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment