Skip to content
Permalink
702103aab6
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
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