Giter Site home page Giter Site logo

Comments (5)

ghanan avatar ghanan commented on June 8, 2024

Inside the container, apt-get does not connect and the commands host, nslookup, ping, telnet, ssh are not installed.
networkclt reports IP an gateway en eth0
¿How can I troubleshoot it?

RESOLVED: nameserver problem (you can see it executing cat /etc/resolv.conf)

from docker-brew-ubuntu-core.

smiller171 avatar smiller171 commented on June 8, 2024

@yhjhoo if you were going to do it that way you would need a -y, but the better way would be to create a simple Dockerfile and use docker build .

FROM ubuntu:14.04
MAINTAINER yhjhoo
RUN apt-get install openjdk-jre -yq && apt-get clean

from docker-brew-ubuntu-core.

lkwg82 avatar lkwg82 commented on June 8, 2024

is that solved?

from docker-brew-ubuntu-core.

OWSM avatar OWSM commented on June 8, 2024

@lkwg82 I'm pretty certain this is user error.

from docker-brew-ubuntu-core.

tianon avatar tianon commented on June 8, 2024

This is definitely user error -- to be able to apt-get install, you must apt-get update first to update list files:

FROM ubuntu:14.04
RUN apt-get update && apt-get install -y openjdk-jre

Additionally, any issues apt-get has with communicating externally are going to be host or Docker issues, not specific to this image. 👍

from docker-brew-ubuntu-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.