Docker Community Forums

Share and learn in the Docker community.

Transparent network and S3

aws

(Colmprunty) #1

Expected behavior

Running command on the host, should download files from Amazon S3

Actual behavior

Errors with fatal error: Unable to locate credentials

Information

Docker version 17.06.2-ee-6, build e75fdb8 running on Amazon EC2.
aws s3 cp is working fine, but if I create a transparent network, it then stops working.

Steps to reproduce the behavior

  1. On the host, run aws s3 cp s3://my-s3-bucket/my-file .
  2. File is downloaded correctly
  3. Run docker network create -d transparent tlan (or l2bridge)
  4. Run same aws command
  5. fatal error: Unable to locate credentials
  6. Run docker network rm [networkId]
  7. When the transparent network is removed, the cp command runs fine again.