Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

What apt package installs "ip addr" command?

Writer Andrew Mclaughlin

How can I install the package for "networks" on a very think ubuntu image in docker?

I need to add this package in an image using a Dockerfile

2 Answers

I found the answer here:

# apt update
# apt install iproute2 -y

My docker container although didn't have iproute2 package installed, the internet connection was active.

1

ip program is a part of iproute2 package

user@ubuntu18:~$ dpkg -S ip | grep '/sbin/ip$'
user@ubuntu18:~$ iproute2: /sbin/ip
2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy