From 8f2b59fe1e4e5e70e7aead47fa7c397418ab20b3 Mon Sep 17 00:00:00 2001 From: Docker Library Bot Date: Tue, 16 Apr 2019 22:14:18 +0000 Subject: [PATCH] Run update.sh --- amazoncorretto/README.md | 4 +- nats-streaming/README.md | 132 +++++++++++++++++++-------------------- 2 files changed, 68 insertions(+), 68 deletions(-) diff --git a/amazoncorretto/README.md b/amazoncorretto/README.md index 48315bdb3..22dd29f88 100644 --- a/amazoncorretto/README.md +++ b/amazoncorretto/README.md @@ -16,8 +16,8 @@ WARNING: # Supported tags and respective `Dockerfile` links -- [`8`, `8u202`, `8-al2-full`, `latest` (*Dockerfile*)](https://github.com/corretto/corretto-8-docker/blob/00075d9caa52634b489867a1a8c5a146b1695d0a/Dockerfile) -- [`11`, `11.0.2`, `11-al2-full` (*Dockerfile*)](https://github.com/corretto/corretto-11-docker/blob/13edf15055f74d5cbe0c3f5f8a0c1665414cadfd/Dockerfile) +- [`8`, `8u212`, `8-al2-full`, `latest` (*Dockerfile*)](https://github.com/corretto/corretto-8-docker/blob/01450dcc396d8ffac22c6de24e6a62fa9fd3ee05/Dockerfile) +- [`11`, `11.0.3`, `11-al2-full` (*Dockerfile*)](https://github.com/corretto/corretto-11-docker/blob/0b311f7144b833e789165173a83a2022987dfb7b/Dockerfile) # Quick reference diff --git a/nats-streaming/README.md b/nats-streaming/README.md index 8d77c969b..ea5996bee 100644 --- a/nats-streaming/README.md +++ b/nats-streaming/README.md @@ -18,15 +18,15 @@ WARNING: ## Simple Tags -- [`0.12.2-linux`, `linux` (*amd64/Dockerfile*)](https://github.com/nats-io/nats-streaming-docker/blob/4a217adb9547624fd8ffa7119bd4bcc5343142c9/amd64/Dockerfile) -- [`0.12.2-nanoserver`, `nanoserver` (*windows/nanoserver/Dockerfile*)](https://github.com/nats-io/nats-streaming-docker/blob/4a217adb9547624fd8ffa7119bd4bcc5343142c9/windows/nanoserver/Dockerfile) -- [`0.12.2-windowsservercore`, `windowsservercore` (*windows/windowsservercore/Dockerfile*)](https://github.com/nats-io/nats-streaming-docker/blob/4a217adb9547624fd8ffa7119bd4bcc5343142c9/windows/windowsservercore/Dockerfile) +- [`0.14.0-linux`, `linux` (*amd64/Dockerfile*)](https://github.com/nats-io/nats-streaming-docker/blob/c96a0716deaf93f663b5a65b9ede1b26fae5a0a3/amd64/Dockerfile) +- [`0.14.0-nanoserver`, `nanoserver` (*windows/nanoserver/Dockerfile*)](https://github.com/nats-io/nats-streaming-docker/blob/c96a0716deaf93f663b5a65b9ede1b26fae5a0a3/windows/nanoserver/Dockerfile) +- [`0.14.0-windowsservercore`, `windowsservercore` (*windows/windowsservercore/Dockerfile*)](https://github.com/nats-io/nats-streaming-docker/blob/c96a0716deaf93f663b5a65b9ede1b26fae5a0a3/windows/windowsservercore/Dockerfile) ## Shared Tags -- `0.12.2`, `latest`: - - [`0.12.2-linux` (*amd64/Dockerfile*)](https://github.com/nats-io/nats-streaming-docker/blob/4a217adb9547624fd8ffa7119bd4bcc5343142c9/amd64/Dockerfile) - - [`0.12.2-nanoserver` (*windows/nanoserver/Dockerfile*)](https://github.com/nats-io/nats-streaming-docker/blob/4a217adb9547624fd8ffa7119bd4bcc5343142c9/windows/nanoserver/Dockerfile) +- `0.14.0`, `latest`: + - [`0.14.0-linux` (*amd64/Dockerfile*)](https://github.com/nats-io/nats-streaming-docker/blob/c96a0716deaf93f663b5a65b9ede1b26fae5a0a3/amd64/Dockerfile) + - [`0.14.0-nanoserver` (*windows/nanoserver/Dockerfile*)](https://github.com/nats-io/nats-streaming-docker/blob/c96a0716deaf93f663b5a65b9ede1b26fae5a0a3/windows/nanoserver/Dockerfile) # Quick reference @@ -120,27 +120,27 @@ $ docker run -d -p 4222:4222 -p 8222:8222 nats-streaming Output that you would get if you had started with `-ti` instead of `d` (for daemon): ```bash -[1] 2019/03/15 22:26:44.060722 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.12.2 -[1] 2019/03/15 22:26:44.060793 [INF] STREAM: ServerID: C8mFXFCVf4h4Kv6NtQjzUL -[1] 2019/03/15 22:26:44.060800 [INF] STREAM: Go version: go1.11.6 -[1] 2019/03/15 22:26:44.060803 [INF] STREAM: Git commit: [4489c46] -[1] 2019/03/15 22:26:44.061399 [INF] Starting nats-server version 1.4.1 -[1] 2019/03/15 22:26:44.061430 [INF] Git commit [3e64f0b] -[1] 2019/03/15 22:26:44.061568 [INF] Starting http monitor on 0.0.0.0:8222 -[1] 2019/03/15 22:26:44.061639 [INF] Listening for client connections on 0.0.0.0:4222 -[1] 2019/03/15 22:26:44.061702 [INF] Server is ready -[1] 2019/03/15 22:26:44.091942 [INF] STREAM: Recovering the state... -[1] 2019/03/15 22:26:44.091995 [INF] STREAM: No recovered state -[1] 2019/03/15 22:26:44.344347 [INF] STREAM: Message store is MEMORY -[1] 2019/03/15 22:26:44.344412 [INF] STREAM: ---------- Store Limits ---------- -[1] 2019/03/15 22:26:44.344456 [INF] STREAM: Channels: 100 * -[1] 2019/03/15 22:26:44.344459 [INF] STREAM: --------- Channels Limits -------- -[1] 2019/03/15 22:26:44.344462 [INF] STREAM: Subscriptions: 1000 * -[1] 2019/03/15 22:26:44.344464 [INF] STREAM: Messages : 1000000 * -[1] 2019/03/15 22:26:44.344467 [INF] STREAM: Bytes : 976.56 MB * -[1] 2019/03/15 22:26:44.344470 [INF] STREAM: Age : unlimited * -[1] 2019/03/15 22:26:44.344503 [INF] STREAM: Inactivity : unlimited * -[1] 2019/03/15 22:26:44.344508 [INF] STREAM: ---------------------------------- +[1] 2019/04/16 21:24:11.886482 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.14.0 +[1] 2019/04/16 21:24:11.886524 [INF] STREAM: ServerID: mb87VWgNghJgoGnbRDWwQA +[1] 2019/04/16 21:24:11.886527 [INF] STREAM: Go version: go1.11.9 +[1] 2019/04/16 21:24:11.886529 [INF] STREAM: Git commit: [218605a] +[1] 2019/04/16 21:24:11.886996 [INF] Starting nats-server version 1.4.1 +[1] 2019/04/16 21:24:11.887058 [INF] Git commit [3e64f0b] +[1] 2019/04/16 21:24:11.887142 [INF] Starting http monitor on 0.0.0.0:8222 +[1] 2019/04/16 21:24:11.887184 [INF] Listening for client connections on 0.0.0.0:4222 +[1] 2019/04/16 21:24:11.887206 [INF] Server is ready +[1] 2019/04/16 21:24:11.915099 [INF] STREAM: Recovering the state... +[1] 2019/04/16 21:24:11.915131 [INF] STREAM: No recovered state +[1] 2019/04/16 21:24:12.166500 [INF] STREAM: Message store is MEMORY +[1] 2019/04/16 21:24:12.166576 [INF] STREAM: ---------- Store Limits ---------- +[1] 2019/04/16 21:24:12.166582 [INF] STREAM: Channels: 100 * +[1] 2019/04/16 21:24:12.166585 [INF] STREAM: --------- Channels Limits -------- +[1] 2019/04/16 21:24:12.166618 [INF] STREAM: Subscriptions: 1000 * +[1] 2019/04/16 21:24:12.166622 [INF] STREAM: Messages : 1000000 * +[1] 2019/04/16 21:24:12.166625 [INF] STREAM: Bytes : 976.56 MB * +[1] 2019/04/16 21:24:12.166629 [INF] STREAM: Age : unlimited * +[1] 2019/04/16 21:24:12.166631 [INF] STREAM: Inactivity : unlimited * +[1] 2019/04/16 21:24:12.166634 [INF] STREAM: ---------------------------------- ``` To use a file based store instead, you would run: @@ -148,27 +148,27 @@ To use a file based store instead, you would run: ```bash $ docker run -d -p 4222:4222 -p 8222:8222 nats-streaming -store file -dir datastore -[1] 2019/03/15 22:27:03.013972 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.12.2 -[1] 2019/03/15 22:27:03.014027 [INF] STREAM: ServerID: iiR2LI3NhTqGMsE8Vs8sZZ -[1] 2019/03/15 22:27:03.014039 [INF] STREAM: Go version: go1.11.6 -[1] 2019/03/15 22:27:03.014042 [INF] STREAM: Git commit: [4489c46] -[1] 2019/03/15 22:27:03.014896 [INF] Starting nats-server version 1.4.1 -[1] 2019/03/15 22:27:03.014926 [INF] Git commit [3e64f0b] -[1] 2019/03/15 22:27:03.015058 [INF] Listening for client connections on 0.0.0.0:4222 -[1] 2019/03/15 22:27:03.015087 [INF] Server is ready -[1] 2019/03/15 22:27:03.042455 [INF] STREAM: Recovering the state... -[1] 2019/03/15 22:27:03.042787 [INF] STREAM: No recovered state -[1] 2019/03/15 22:27:03.297017 [INF] STREAM: Message store is FILE -[1] 2019/03/15 22:27:03.297051 [INF] STREAM: Store location: datastore -[1] 2019/03/15 22:27:03.297088 [INF] STREAM: ---------- Store Limits ---------- -[1] 2019/03/15 22:27:03.297097 [INF] STREAM: Channels: 100 * -[1] 2019/03/15 22:27:03.297104 [INF] STREAM: --------- Channels Limits -------- -[1] 2019/03/15 22:27:03.297110 [INF] STREAM: Subscriptions: 1000 * -[1] 2019/03/15 22:27:03.297116 [INF] STREAM: Messages : 1000000 * -[1] 2019/03/15 22:27:03.297122 [INF] STREAM: Bytes : 976.56 MB * -[1] 2019/03/15 22:27:03.297129 [INF] STREAM: Age : unlimited * -[1] 2019/03/15 22:27:03.297135 [INF] STREAM: Inactivity : unlimited * -[1] 2019/03/15 22:27:03.297142 [INF] STREAM: ---------------------------------- +[1] 2019/04/16 21:24:39.235166 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.14.0 +[1] 2019/04/16 21:24:39.235206 [INF] STREAM: ServerID: s9ulTmQAossdp4KKSA7jxT +[1] 2019/04/16 21:24:39.235209 [INF] STREAM: Go version: go1.11.9 +[1] 2019/04/16 21:24:39.235211 [INF] STREAM: Git commit: [218605a] +[1] 2019/04/16 21:24:39.235865 [INF] Starting nats-server version 1.4.1 +[1] 2019/04/16 21:24:39.235889 [INF] Git commit [3e64f0b] +[1] 2019/04/16 21:24:39.235949 [INF] Listening for client connections on 0.0.0.0:4222 +[1] 2019/04/16 21:24:39.235973 [INF] Server is ready +[1] 2019/04/16 21:24:39.264025 [INF] STREAM: Recovering the state... +[1] 2019/04/16 21:24:39.264176 [INF] STREAM: No recovered state +[1] 2019/04/16 21:24:39.515371 [INF] STREAM: Message store is FILE +[1] 2019/04/16 21:24:39.515489 [INF] STREAM: Store location: datastore +[1] 2019/04/16 21:24:39.515562 [INF] STREAM: ---------- Store Limits ---------- +[1] 2019/04/16 21:24:39.515604 [INF] STREAM: Channels: 100 * +[1] 2019/04/16 21:24:39.515609 [INF] STREAM: --------- Channels Limits -------- +[1] 2019/04/16 21:24:39.515612 [INF] STREAM: Subscriptions: 1000 * +[1] 2019/04/16 21:24:39.515615 [INF] STREAM: Messages : 1000000 * +[1] 2019/04/16 21:24:39.515618 [INF] STREAM: Bytes : 976.56 MB * +[1] 2019/04/16 21:24:39.515620 [INF] STREAM: Age : unlimited * +[1] 2019/04/16 21:24:39.515623 [INF] STREAM: Inactivity : unlimited * +[1] 2019/04/16 21:24:39.515625 [INF] STREAM: ---------------------------------- ``` You can also connect to a remote NATS Server running in a docker image. First, run NATS Server: @@ -182,23 +182,23 @@ Now, start the Streaming server and link it to the above docker image: ```bash $ docker run -d --link nats-main nats-streaming -store file -dir datastore -ns nats://nats-main:4222 -[1] 2019/03/15 22:27:29.511216 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.12.2 -[1] 2019/03/15 22:27:29.511290 [INF] STREAM: ServerID: Zuy2oRZ6wIqEieYYJhI880 -[1] 2019/03/15 22:27:29.511297 [INF] STREAM: Go version: go1.11.6 -[1] 2019/03/15 22:27:29.511302 [INF] STREAM: Git commit: [4489c46] -[1] 2019/03/15 22:27:29.540335 [INF] STREAM: Recovering the state... -[1] 2019/03/15 22:27:29.540629 [INF] STREAM: No recovered state -[1] 2019/03/15 22:27:29.796552 [INF] STREAM: Message store is FILE -[1] 2019/03/15 22:27:29.796605 [INF] STREAM: Store location: datastore -[1] 2019/03/15 22:27:29.796672 [INF] STREAM: ---------- Store Limits ---------- -[1] 2019/03/15 22:27:29.796780 [INF] STREAM: Channels: 100 * -[1] 2019/03/15 22:27:29.796786 [INF] STREAM: --------- Channels Limits -------- -[1] 2019/03/15 22:27:29.796788 [INF] STREAM: Subscriptions: 1000 * -[1] 2019/03/15 22:27:29.796791 [INF] STREAM: Messages : 1000000 * -[1] 2019/03/15 22:27:29.796794 [INF] STREAM: Bytes : 976.56 MB * -[1] 2019/03/15 22:27:29.796796 [INF] STREAM: Age : unlimited * -[1] 2019/03/15 22:27:29.796799 [INF] STREAM: Inactivity : unlimited * -[1] 2019/03/15 22:27:29.796831 [INF] STREAM: ---------------------------------- +[1] 2019/04/16 21:24:56.168244 [INF] STREAM: Starting nats-streaming-server[test-cluster] version 0.14.0 +[1] 2019/04/16 21:24:56.168321 [INF] STREAM: ServerID: bFaEuVz8Ak4J4Ga08lLFyW +[1] 2019/04/16 21:24:56.168327 [INF] STREAM: Go version: go1.11.9 +[1] 2019/04/16 21:24:56.168331 [INF] STREAM: Git commit: [218605a] +[1] 2019/04/16 21:24:56.197393 [INF] STREAM: Recovering the state... +[1] 2019/04/16 21:24:56.197718 [INF] STREAM: No recovered state +[1] 2019/04/16 21:24:56.453938 [INF] STREAM: Message store is FILE +[1] 2019/04/16 21:24:56.453986 [INF] STREAM: Store location: datastore +[1] 2019/04/16 21:24:56.454021 [INF] STREAM: ---------- Store Limits ---------- +[1] 2019/04/16 21:24:56.454025 [INF] STREAM: Channels: 100 * +[1] 2019/04/16 21:24:56.454028 [INF] STREAM: --------- Channels Limits -------- +[1] 2019/04/16 21:24:56.454030 [INF] STREAM: Subscriptions: 1000 * +[1] 2019/04/16 21:24:56.454033 [INF] STREAM: Messages : 1000000 * +[1] 2019/04/16 21:24:56.454035 [INF] STREAM: Bytes : 976.56 MB * +[1] 2019/04/16 21:24:56.454039 [INF] STREAM: Age : unlimited * +[1] 2019/04/16 21:24:56.454041 [INF] STREAM: Inactivity : unlimited * +[1] 2019/04/16 21:24:56.454044 [INF] STREAM: ---------------------------------- ``` Notice that the output shows that the NATS Server was not started, as opposed to the first output. @@ -231,7 +231,7 @@ Streaming Server Clustering Options: --clustered Run the server in a clustered configuration (default: false) --cluster_node_id ID of the node within the cluster if there is no stored ID (default: random UUID) --cluster_bootstrap Bootstrap the cluster if there is no existing state by electing self as leader (default: false) - --cluster_peers List of cluster peer node IDs to bootstrap cluster state. + --cluster_peers Comma separated list of cluster peer node IDs to bootstrap cluster state --cluster_log_path Directory to store log replication data --cluster_log_cache_size Number of log entries to cache in memory to reduce disk IO (default: 512) --cluster_log_snapshots Number of log snapshots to retain (default: 2)