This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Source: https://github.com/kubernetes/kubernetes/issues/35712 | |
| FROM ubuntu | |
| ENV container docker | |
| RUN apt-get -y update | |
| RUN apt-get update -qq && apt-get install -qqy \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| lxc \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.4' | |
| services: | |
| lb: | |
| image: traefik:1.4.5 | |
| logging: | |
| driver: json-file | |
| options: | |
| max-size: "10m" | |
| max-file: "3" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Modified from https://gist.github.com/Stono/7e6fed13cfd79598eb15 | |
| # | |
| # MIT License applies to this script. I don't accept any responsibility for | |
| # damage you may cause using it. | |
| set -ex | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "* This script needs to be run as root" |
OlderNewer