CFN template: https://s3.amazonaws.com/aws-kubernetes-artifacts/lab-ide-vpc.template
aws s3 cp s3://aws-kubernetes-artifacts/lab-ide-build.sh . && \
chmod +x lab-ide-build.sh && \
. ./lab-ide-build.sh
ignored: | |
- DL3018 # Pin versions in apk add | |
- DL3008 # Pin versions in apt-get install |
CFN template: https://s3.amazonaws.com/aws-kubernetes-artifacts/lab-ide-vpc.template
aws s3 cp s3://aws-kubernetes-artifacts/lab-ide-build.sh . && \
chmod +x lab-ide-build.sh && \
. ./lab-ide-build.sh
I hereby claim:
To claim this, I am signing this object:
nginx-proxy: | |
image: 'jwilder/nginx-proxy:latest' | |
deployment_strategy: every_node | |
ports: | |
- '80:80' | |
restart: always | |
volumes: | |
- '/var/run/docker.sock:/tmp/docker.sock:ro' |
#!/bin/bash | |
# Do not run if removal already in progress. | |
pgrep "docker rm" && exit 0 | |
# Remove Dead and Exited containers. | |
docker rm $(docker ps -a | grep "Dead\|Exited" | awk '{print $1}'); true | |
# It will fail to remove images currently in use. | |
docker rmi $(docker images -qf dangling=true); true |
#!/usr/bin/env python3 | |
import boto3 | |
import argparse | |
import os.path | |
import logging | |
import sys | |
logger = logging.getLogger() | |
s3 = boto3.resource('s3') |
#!/bin/bash | |
usage() { | |
echo "Usage $0 -c mongo_docker_container_name" | |
} | |
while [[ $# > 1 ]] | |
do | |
key="$1" |
db: | |
image: mongo | |
volumes: | |
- /data/db | |
rolehaven: | |
image: yxeri/rolehaven:stable | |
environment: | |
- DBHOST=db | |
- VIRTUAL_HOST=terminal.example.com |
#!/usr/bin/env python | |
import argparse | |
from docker import Client | |
import json | |
if __name__ == "__main__": | |
c = Client(base_url='unix://var/run/docker.sock') | |
parser = argparse.ArgumentParser() | |
parser.add_argument('image') |