Skip to content

Can't access internet within dlite container #222

@mccall114

Description

@mccall114

Bug Reports

  • dlite version in use (run dlite --version): dlite 1.1.5, installed on Mac OS X El Capitan 10.11.6

  • expected behavior: within docker, expecting curl google.com to return results. also getting connection refused when running docker pull or docker import

  • actual behavior: curl.google.com hangs then can't resolve host. same for directly curling the IP

  • steps to reproduce: docker run --rm -it <container> bash then trying to curl. Docker image is a modified Ubuntu 14.04.4 LTS

This is my /etc/resolv.conf within the container:
nameserver 8.8.8.8
nameserver 192.168.64.1 # eth0

If I run this with regular Docker (aka not dlite), it works fine. It also works fine on a 2nd machine that has both dlite and regular Docker installed. Is there some dlite config that somehow got modified or is missing? Has anyone else experienced this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions