Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 801 Bytes

Setup TLS for Docker

You need to run these commands to setup part of the process that's currently not automated.

You can find these instructions partially at the following link.

# After the first command you need to copy and past the contents of docker_deamon_settings.conf in the docker.service file
sudo systemctl edit docker.service
sudo systemctl daemon-reload
sudo systemctl restart docker.service

Then you need to modify your .bashrc, zshrc or whatever shell you're using. Add This to the end of your *rc file

#######################################################
# Docker
#######################################################

export COMPOSE_TLS_VERSION=TLSv1_2
export DOCKER_HOST=tcp://localhost:2376 DOCKER_TLS_VERIFY=1
You can’t perform that action at this time.