Guest User

Untitled

a guest
Nov 23rd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. cat /etc/default/docker
  2. # Docker Upstart and SysVinit configuration file
  3.  
  4. #
  5. # THIS FILE DOES NOT APPLY TO SYSTEMD
  6. #
  7. # Please see the documentation for "systemd drop-ins":
  8. # https://docs.docker.com/engine/admin/systemd/
  9. #
  10.  
  11. # Customize location of Docker binary (especially for development testing).
  12. #DOCKERD="/usr/local/bin/dockerd"
  13.  
  14. # Use DOCKER_OPTS to modify the daemon startup options.
  15. #DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"
  16.  
  17. DOCKER_OPTS="docker -H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock"
  18.  
  19. # If you need Docker to use an HTTP proxy, it can also be specified here.
  20. #export http_proxy="http://127.0.0.1:3128/"
  21.  
  22. # This is also a handy place to tweak where Docker's temporary files go.
  23. #export DOCKER_TMPDIR="/mnt/bigdrive/docker-tmp"
  24.  
  25. ----------------------------------
  26.  
  27. sudo systemctl daemon-reload
  28. sudo service docker restart
Add Comment
Please, Sign In to add comment