/docker-certificates

Set of files for protecting Docker daemon socket

Primary LanguageShellMIT LicenseMIT

README

Set of files for protecting Docker daemon socket

⚠️ This project is no longer maintained. ⚠️

Installation

# Define installation folder

export INSTALL_DIRECTORY=/usr/bin

# Use local installation

sudo bin/installer install

# Use remote installation

curl --location "https://gitlab.com/mauchede/docker-certificates/raw/master/bin/installer" | sudo sh -s -- install

Note: If you do not define INSTALL_DIRECTORY, installer will use in /usr/local/bin.

Usage

export SSL_SIZE=4096
export SSL_SUBJECT=my-server.com

mkdir -p "${HOME}/.docker/certs/my-server"
sh -c "cd '${HOME}/.docker/certs/my-server' && bin/generate-certs"

Note: Available environment variables are listed in OMGWTFSSL's README.

Credits

The used script has been created by paulczar.

Links