Pregunta:
Con la base ubuntu:12.04
, ifconfig
no está disponible en el contenedor, aunque el comando ip
está disponible, ¿por qué? y, ¿cómo conseguir ifconfig
en el contenedor?
Respuesta:
Puede instalar ifconfig con apt-get install net-tools
. (Específicamente, agregando RUN apt-get install -y net-tools
a su Dockerfile).
Según mi prueba, ifconfig está incluido en ubuntu: 14.04.