Skip to content

Install telnet and join the network in docker

Daisho Komiyama edited this page Oct 20, 2023 · 1 revision

macOS 14 never let me install telnet through brew somehow.

So I ran a container (ubuntu) and did everything in it.

docker run -it --network host --name my-stuff --rm --privileged ubuntu:bionic

Used host --name here trying to connect to the host network, but I'm not sure if I needed it.

apt update -y
apt-get install telnet
telnet 192.168.1.97 8000

You need to get the localhost and port from the host.

Clone this wiki locally