Skip to content

Instantly share code, notes, and snippets.

View madhuri-rai07's full-sized avatar

Madhuri Kumari madhuri-rai07

View GitHub Profile
$ cat /lib/systemd/system/docker.service
[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network.target docker.socket
Requires=docker.socket
[Service]
Type=notify
# the default is not to use systemd for cgroups because the delegate issues still
@madhuri-rai07
madhuri-rai07 / gen-cert.py
Last active August 29, 2015 14:24
Tool to generate certificates
import os
import time
from M2Crypto import X509, EVP, RSA, ASN1
def make_ca_issuer():
"""
Creates Magnum default CA issuer name.
"""