Docker Client and Daemon

Source: Internet
Author: User

$ docker-d [options] (the way the daemon is running the container)
Configuration options:
1. Run the relevant
-d,--debug=false
-e,--exec-driver= "native"
-g,--graph= "/var/lib/docker"
--icc=true
-l,--;og-level= "Info"
--label=[]
-P,--pidfile= "/var/run/docker.pid"
2.Docker Server Connection Related:
-g,--group= "Docker"
-h,--host=[]
-tls=false
--tlscacert= "/home/sven/.docker/ca.pem"
--tlscert= "/home/sven/.docker/cert.pem"
--tlskey= "/home/sven/.docker/key.pem"
--tlsverify=false
3.RemotAPI Related:
--api-enable-cord=false
4. Storage Related:
-s,--storage-driver= ""
--selinux-enabled=false
--storage-opt=[]
5.Registry Related:
--insecure-registry=[]
--registry-mirror=[]
6. Network Settings related
-b,--bridge= ""
--bip= ""
--fixed-cidr= ""
--fixed-cidr-v6= ""
--dns=[]
--dns-search=[]
--ip=0.0.0.0
--ip-forward=true
--ip-masq=true
--iptables=true
--ipv6=false
--mtn=0
Startup configuration file
/etc/sysconfig/docker

Remote access for Docker

1. Second server to install Docker
2. Modify the Docker daemon startup options to differentiate the server
3. Ensure that the client API is consistent with the server API version

To modify the Docker daemon startup options
-H Tcp://host:port
Unix://path/to/socket,
fd://* or FD://SOCKETFD
Daemon Default configuration:
-H Unix:///var/rundocker.sock

Docker Client and Daemon

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.