Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Do not install DHCP client #15

Open
paulmenzel opened this issue Aug 2, 2016 · 2 comments
Open

Do not install DHCP client #15

paulmenzel opened this issue Aug 2, 2016 · 2 comments

Comments

@paulmenzel
Copy link

As the Docker daemon assigns IP addresses to a container, no DHCP client needs to be installed in a base image.

Currently, the package isc-dhcp-client is installed, which, as written above, is unnecessary and additionally makes the Docker image bigger.

# dpkg -l isc*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                Version                Architecture           Description
+++-===================================-======================-======================-============================================================================
ii  isc-dhcp-client                     4.3.4-1                amd64                  DHCP client for automatically obtaining an IP address
un  isc-dhcp-client-ddns                <none>                 <none>                 (no description available)
ii  isc-dhcp-common                     4.3.4-1                amd64                  common files used by all of the isc-dhcp packages
@jmtd
Copy link
Owner

jmtd commented Aug 3, 2016

That's a good point, thanks.

@szepeviktor
Copy link
Contributor

debootstrap --exclude=isc-dhcp-client

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants