Expected behavior
Docker container should be able to perform apt update and install commands by accessing the network.
Actual behavior
apt update and install fail within the containers, because docker does not provide network access.
Information
Jul 2 19:15:02 Marcs-MBP Docker[3603] <Critical>: Failed to read hello from client
Jul 2 19:15:02 Marcs-MBP Docker[3439] <Error>: server loop caught (Failure "Caught EOF on underlying FLOW"): no further requests will be processed
Jul 2 19:15:07 Marcs-MBP Docker[3439] <Error>: TCP 104.239.220.248:80 > 192.168.65.2:44128 proxy failed with flow proxy b: Connection refused
Diagnostic ID: 92B72048-0041-43F7-A14E-70459C5A6B4D
Mac OS X: 10.11.5
Steps to reproduce the behavior
Dockerfile:
FROM debian:jessie
RUN apt-get update
RUN apt-get install -y build-essential automake autoconf libtool pkg-config gettext git mingw32 mingw32-binutils
RUN apt-get clean
I would appreciate any help. Thanks in advance.