2015年12月8日 星期二

docker設定 - 暫存資料

docker setting

path : /etc/default/docker"


conf

# Docker Upstart and SysVinit configuration file

# Customize location of Docker binary (especially for development testing).
#DOCKER="/usr/local/bin/docker"

# Use DOCKER_OPTS to modify the daemon startup options.
#DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"
DOCKER_OPTS="-D --tls=false -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock"
DOCKER_OPTS="$DOCKER_OPTS --insecure-registry=192.168.2.18:5000"

# 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"



insecure-registry

沒有留言:

張貼留言