Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The docker-network, some problems - is this a Solution ? #10

Open
Inkimar opened this issue Jan 20, 2017 · 0 comments
Open

The docker-network, some problems - is this a Solution ? #10

Inkimar opened this issue Jan 20, 2017 · 0 comments

Comments

@Inkimar
Copy link
Collaborator

Inkimar commented Jan 20, 2017

Note
We would need to look at this a bit closer, this is an issue that is linked to dnsdock - and understanding this fully will help our efforts regarding other docker-projects.

Description of the problem.
Logging into the elk-container ( docker exec -it clbdocker_elk_1 bash )
Running 'apt update'
cannot find the ' http://archive.ubuntu.com/ubuntu'
Is this a local problem or do others also have this problem ?

Solving the problem
Adding the following to the docker-compos.yml-file

  dnsmasq:
    image: andyshinn/dnsmasq:2.76
    command: --log-facility=-
    container_name: dnsmasq
    cap_add: 
      - NET_ADMIN 
    ports:
      - 172.17.0.1:53:53/tcp
      - 172.17.0.1:53:53/udp

If all services are up after your editing:

  1. docker-compose stop dnsdock
  2. docker-compose run -d dnsmasq
  3. docker-compose stop dnsmasq
  4. docker-compose start -d dnsdock

$ docker exec -it clbdocker_elk_1 bash
root@2201e41019cb:/# apt update
works

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

No branches or pull requests

1 participant