Docker-stacks: Question: why doesn't ifconfig work in tensorflow image's terminal?

Created on 26 Mar 2018  路  2Comments  路  Source: jupyter/docker-stacks

Greeting,

I just pulled the latest jupyter/tensorflow-notebook docker image, and launched it. I opened a new terminal, but found 'ifconfog' and 'ip addr' not working. Why is that?

Thanks,

Chun-Yen

Question

All 2 comments

They're not installed in the ubuntu base image nor the jupyter/* images defined here by default. You can add them in your own Dockerfile like:

FROM jupyter/tensorflow-notebook:sometag

RUN apt-get update && \
    apt-get install -y --no-install-recommends  net-tools && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

https://stackoverflow.com/questions/42870005/how-to-install-ifconfig-command-in-my-ubuntu-docker-image

I'm going to close this issue out as answered (and confirmed answered with a thumbs up 馃槃 ).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ainiml picture ainiml  路  3Comments

akhmerov picture akhmerov  路  4Comments

aar0nTw picture aar0nTw  路  4Comments

osobh picture osobh  路  3Comments

codingbutstillalive picture codingbutstillalive  路  3Comments