Skip to content

Instantly share code, notes, and snippets.

@Ryanb58
Last active April 19, 2024 08:38
Show Gist options
  • Save Ryanb58/9e63e186981090d4f2de8ec0ea420e1d to your computer and use it in GitHub Desktop.
Save Ryanb58/9e63e186981090d4f2de8ec0ea420e1d to your computer and use it in GitHub Desktop.
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

@montaro
Copy link

montaro commented Dec 22, 2020

Thanks!

@nrobayo-stratio
Copy link

thanks!!!

@scheinem
Copy link

scheinem commented Apr 1, 2021

Thanks!

@DouglasPioStudiare
Copy link

Thanks!

@EnsleyEC
Copy link

Thanks

@aj-jwair
Copy link

aj-jwair commented May 3, 2021

Thank you

@PrudhvirajTirumanisetti

✅👍

@drrainlab
Copy link

Thank you!

@kenkl
Copy link

kenkl commented Jun 10, 2021

Thanks!

@LoesterFranco
Copy link

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

Thank you!

@hsadeghinejad
Copy link

Thanks!

@sebPomme
Copy link

thanks

@junjie-landing
Copy link

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.

@EdsonSFreitas
Copy link

Obrigado por compartilhar, ajudou muito.

@nickelghost
Copy link

Thank you!!

@JoseMiralles
Copy link

Thank you!

@killersalt
Copy link

thanks!

@s0i37
Copy link

s0i37 commented Sep 6, 2022

Awesome!

@alvarez-moreno-sergio
Copy link

thanks!

@bickyeric
Copy link

thanks

@nooldey
Copy link

nooldey commented Oct 18, 2022

thanks,it help

@martialanouman
Copy link

Thanks!

@dermanov-ru
Copy link

Thanks!

@brnpimentel
Copy link

Thanks!

@rogperez
Copy link

rogperez commented Feb 1, 2023

Thanks!

@kevinchatham
Copy link

Thanks!

@sudharshan-ravindran
Copy link

Thanks!

@wengkham
Copy link

Thank you, helps alot!

@sankalp-khare
Copy link

thanks!

@0605AbMu
Copy link

thanks!

@hniia
Copy link

hniia commented Aug 22, 2023

use nc already there

@KlausThornProgrammfabrik

thanks!

@bmueller0885
Copy link

Thanks

@alirezavafaee
Copy link

Thank you

@gy0857478
Copy link

謝謝

@RaedShari
Copy link

شكراً

@tajoutihamza
Copy link

thanks

@nmandzyk
Copy link

thanks

@humblewolf
Copy link

thanks

@hieunt0303
Copy link

thanks

@shayan0v0n
Copy link

Thanks

@ssarbadh
Copy link

Thank you @Ryanb58

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