Skip to content

Instantly share code, notes, and snippets.

@clok
Last active February 4, 2017 16:10
Show Gist options
  • Save clok/e8382e04302f6f1bd19370c93dec6363 to your computer and use it in GitHub Desktop.
Save clok/e8382e04302f6f1bd19370c93dec6363 to your computer and use it in GitHub Desktop.
global config for shared credentials
# https://wdullaer.com/blog/2016/02/28/pass-credentials-to-the-awslogs-docker-logging-driver-on-ubuntu/
root@ip-10-0-4-212:~# cat /etc/default/docker
# Docker Upstart and SysVinit configuration file
#
# THIS FILE DOES NOT APPLY TO SYSTEMD
#
# Please see the documentation for "systemd drop-ins":
# https://docs.docker.com/engine/articles/systemd/
#
# Customize location of Docker binary (especially for development testing).
#DOCKERD="/usr/local/bin/dockerd"
# Use DOCKER_OPTS to modify the daemon startup options.
#DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"
# If you need Docker to use an HTTP proxy, it can also be specified here.
#export http_proxy="http://127.0.0.1:3128/"
# This is also a handy place to tweak where Docker's temporary files go.
#export TMPDIR="/mnt/bigdrive/docker-tmp"
export AWS_SHARED_CREDENTIALS_FILE=/root/.aws/credentials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment