Skip to content

Instantly share code, notes, and snippets.

View julienbornstein's full-sized avatar

Julien Bornstein julienbornstein

View GitHub Profile
@julienbornstein
julienbornstein / docker-configure-tls.sh
Created April 22, 2020 09:24 — forked from ivan-pinatti/docker-configure-tls.sh
Enable TLS in Docker service running in Ubuntu - #docker #docker-tls #tls #ubuntu
#!/usr/bin/env bash
: ' Script that enables TLS for Docker service in Ubuntu 16.x
This script is intended to be run as root
It;
- Generates the keys
- Creates the daemon.json Docker config file