After install docker need to add ca certificate to CentOS 7 copy ca certificates into
/etc/pki/ca-trust/source/anchors/
after than use follow command to update certificates
# update-ca-trust
now add proxy settings into docker config file /etc/sysconfig/docker as follow
HTTP_PROXY="
HTTPS_PROXY="
for sudo without password add row indo /etc/sudoers
[USER] ALL=(ALL) NOPASSWD: /usr/bin/docker
configure docker engine to start at boot:
systemctl enable docker
systemctl restart docker