Directories on host machine:
-
/data/certbot/letsencrypt -
/data/certbot/www -
Nginx server in docker container
docker run -d --name nginx \
Directories on host machine:
/data/certbot/letsencrypt
/data/certbot/www
Nginx server in docker container
docker run -d --name nginx \
Using the commands below too manually create .docker/config.json file.
BASE64_AUTH=$(echo -n "$REGISTRY_USER:$REGISTRY_PASSWORD" | base64)
mkdir -p ~/.docker
echo "{\"auths\": {\"$REGISTRY_HOSTNAME\": {\"auth\": \"$BASE64_AUTH\"}}}" > ~/.docker/config.jsonOriginally posted by @tennox in moby/buildkit#565 (comment)
How to remove local Git branches that do not exist on the remote server?
git fetch -p && for branch in `git branch -vv | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done| VERSION=1.6.3 | |
| # Use tenv, see https://github.com/tofuutils/tenv | |
| brew tap tofuutils/tap | |
| brew install tenv | |
| TENV_ARCH=amd64 | |
| tenv tf install $VERSION | |
| tenv tg install latest-stable | |
| # DEPRECATED: the tfenv CLI is required, see https://github.com/tfutils/tfenv |
| ##TCP FLAGS## | |
| Unskilled Attackers Pester Real Security Folks | |
| ============================================== | |
| TCPDUMP FLAGS | |
| Unskilled = URG = (Not Displayed in Flag Field, Displayed elsewhere) | |
| Attackers = ACK = (Not Displayed in Flag Field, Displayed elsewhere) | |
| Pester = PSH = [P] (Push Data) | |
| Real = RST = [R] (Reset Connection) | |
| Security = SYN = [S] (Start Connection) |
| podTemplate(label: 'mypod', containers: [ | |
| containerTemplate(name: 'git', image: 'alpine/git', ttyEnabled: true, command: 'cat'), | |
| containerTemplate(name: 'maven', image: 'maven:3.3.9-jdk-8-alpine', command: 'cat', ttyEnabled: true), | |
| containerTemplate(name: 'docker', image: 'docker', command: 'cat', ttyEnabled: true) | |
| ], | |
| volumes: [ | |
| hostPathVolume(mountPath: '/var/run/docker.sock', hostPath: '/var/run/docker.sock'), | |
| ] | |
| ) { | |
| node('mypod') { |
| import groovy.yaml.YamlSlurper | |
| def slurper = new YamlSlurper() | |
| def configuration = ''' | |
| version: 3.0 | |
| environment: "dev" | |
| context: | |
| path: "/test" | |
| endpoints: |