Sign inSign up

leanpaul/net-tools

By leanpaul

•Updated over 2 years ago

contains: htop, net-tools, traceroute, openssh-server

Image
Operating systems
0

178

leanpaul/net-tools repository overview

⁠Use the Ubuntu base image

FROM ubuntu:24.04

⁠Update package lists and install necessary tools

RUN apt-get update && apt-get install -y
htop
net-tools
traceroute
openssh-server
&& apt-get clean
&& rm -rf /var/lib/apt/lists/*

⁠Set hostname

RUN echo "net-tool" > /etc/hostname

⁠Start SSH service

RUN service ssh start

⁠Expose SSH port for remote access

EXPOSE 22

⁠Set the default command to launch bash shell

CMD ["/bin/bash"]

⁠Run command:

docker run -it --name net-tools -p 2222:22 leanpaul/net-tools

Tag summary

Content type

Image

Digest

sha256:946ad3f18…

Size

73.1 MB

Last updated

over 2 years ago

docker pull leanpaul/net-tools