mirror of
/repos/dotTiddlywiki.git
synced 2025-12-30 07:31:33 +01:00
updates
This commit is contained in:
parent
585778d04a
commit
ffca730732
@ -1,6 +1,6 @@
|
||||
created: 20151217170810197
|
||||
creator: user
|
||||
modified: 20160422115422097
|
||||
modified: 20161111190531019
|
||||
modifier: user
|
||||
tags: docker
|
||||
title: Rancher
|
||||
@ -21,4 +21,10 @@ docker run --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib
|
||||
: https://cloud.docker.com/container/service/4f127ef8-a6e9-4b34-a308-673812ceb89f/show/#container-endpoints
|
||||
|
||||
;In this guide, we will create a simple Rancher install, which is a single host installation that runs everything on a single Linux machine.
|
||||
:http://docs.rancher.com/rancher/quick-start-guide/
|
||||
:http://docs.rancher.com/rancher/quick-start-guide/
|
||||
|
||||
http://docs.rancher.com/rancher/v1.1/en/installing-rancher/installing-server/basic-ssl-config/
|
||||
|
||||
https://github.com/rancher/community-catalog/issues/109
|
||||
|
||||
sudo ros config set rancher.docker.args "['daemon','--log-opt','max-size=25m','--log-opt','max-file=2','-s','overlay','-G','docker','-H','unix:///var/run/docker.sock','--userland-proxy=false','--insecure-registry=registry:5000']"
|
||||
@ -1,6 +1,6 @@
|
||||
created: 20150304162605686
|
||||
creator: user
|
||||
modified: 20150313170654627
|
||||
modified: 20161111190534872
|
||||
modifier: user
|
||||
tags: docker
|
||||
title: docker registry
|
||||
@ -14,8 +14,14 @@ docker run \
|
||||
-e SETTINGS_FLAVOR=local \
|
||||
-e STORAGE_PATH=/registry \
|
||||
-p 5000:5000 \
|
||||
-v /registry:/registry
|
||||
-v /registry:/registry \
|
||||
registry
|
||||
```
|
||||
|
||||
* http://stackoverflow.com/questions/26710153/remote-access-to-a-private-docker-registry
|
||||
* http://stackoverflow.com/questions/26710153/remote-access-to-a-private-docker-registry
|
||||
|
||||
; How To Set Up a Private Docker Registry on Ubuntu 14.04
|
||||
: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-private-docker-registry-on-ubuntu-14-04
|
||||
|
||||
; Using Let’s Encrypt and Docker for Automatic SSL
|
||||
: http://www.automationlogic.com/using-lets-encrypt-and-docker-for-automatic-ssl/
|
||||
@ -1,8 +1,8 @@
|
||||
created: 20150511071117085
|
||||
creator: user
|
||||
modified: 20161106103317792
|
||||
modified: 20161112214708856
|
||||
modifier: user
|
||||
tags:
|
||||
tags: docker [[raspberry pi]]
|
||||
title: use usb stick with docker
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
@ -41,7 +41,7 @@ export http_proxy="http://192.168.2.1:3128/"
|
||||
|
||||
# This is also a handy place to tweak where Docker's temporary files go.
|
||||
#export TMPDIR="/mnt/bigdrive/docker-tmp"
|
||||
export TMPDIR="/mnt/usb/docker-tmp"
|
||||
export TMPDIR=/mnt/usb/docker-tmp"
|
||||
```
|
||||
|
||||
$ cat /etc/systemd/system/docker.service.d/overlay.conf
|
||||
@ -50,7 +50,7 @@ $ cat /etc/systemd/system/docker.service.d/overlay.conf
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/dockerd --storage-driver overlay -D --graph=/mnt/usb/docker --log-driver=syslog --log-opt syslog-address=udp://nas.aiko.sh:514 --log-opt syslog-format=rfc5424 -H fd://
|
||||
Environment="HTTP_PROXY=http://192.168.22.22:3128/" "TMPDIR="/mnt/usb/docker-tmp"
|
||||
Environment="HTTP_PROXY=http://192.168.22.22:3128/" "TMPDIR=/mnt/usb/docker-tmp"
|
||||
|
||||
```
|
||||
|
||||
@ -78,8 +78,32 @@ UUID=16e0972d-6abf-4369-be0e-5fd2e10a070a /mnt/usb ext4 commit=600,noatime 0 0
|
||||
#none /var/run tmpfs size=1M,noatime 0 0
|
||||
none /var/log tmpfs size=1M,noatime 0 0
|
||||
none /var/tmp tmpfs size=1M,noatime 0 0
|
||||
none /tmp tmpfs size=12M,noatime 0 0```
|
||||
none /tmp tmpfs size=12M,noatime 0 0
|
||||
```
|
||||
|
||||
```
|
||||
tune2fs -c 1 /dev/disk/by-uuid/16e0972d-6abf-4369-be0e-5fd2e10a070a
|
||||
```
|
||||
|
||||
!!Logging
|
||||
|
||||
vi /etc/rsyslog.conf
|
||||
|
||||
```
|
||||
$ActionFileDefaultTemplate RSYSLOG_SyslogProtocol23Format
|
||||
|
||||
###############
|
||||
#### RULES ####
|
||||
###############
|
||||
|
||||
*.* @192.168.22.22:514
|
||||
```
|
||||
|
||||
|
||||
vi /etc/systemd/journald.conf
|
||||
|
||||
```
|
||||
[Journal]
|
||||
Storage=none
|
||||
#Storage=auto
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user