mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-16 15:10:12 +01:00
Deployed 9b998fb with MkDocs version: 1.1.2
This commit is contained in:
parent
53c402703e
commit
1731302145
36 changed files with 978 additions and 899 deletions
|
|
@ -7,11 +7,12 @@
|
|||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
||||
|
||||
|
||||
<link rel="canonical" href="http://containrrr.github.io/watchtower/introduction/">
|
||||
|
||||
|
||||
<link rel="shortcut icon" href="../assets/images/favicon.png">
|
||||
<meta name="generator" content="mkdocs-1.1.2, mkdocs-material-6.0.1">
|
||||
<link rel="shortcut icon" href="../images/favicon.ico">
|
||||
<meta name="generator" content="mkdocs-1.1.2, mkdocs-material-6.1.7">
|
||||
|
||||
|
||||
|
||||
|
|
@ -19,10 +20,10 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../assets/stylesheets/main.38780c08.min.css">
|
||||
<link rel="stylesheet" href="../assets/stylesheets/main.19753c6b.min.css">
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../assets/stylesheets/palette.3f72e892.min.css">
|
||||
<link rel="stylesheet" href="../assets/stylesheets/palette.196e0c26.min.css">
|
||||
|
||||
|
||||
|
||||
|
|
@ -37,6 +38,8 @@
|
|||
|
||||
|
||||
|
||||
<link rel="stylesheet" href="../stylesheets/theme.css">
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -49,7 +52,7 @@
|
|||
|
||||
|
||||
|
||||
<body dir="ltr" data-md-color-scheme="" data-md-color-primary="none" data-md-color-accent="none">
|
||||
<body dir="ltr" data-md-color-scheme="containrrr" data-md-color-primary="" data-md-color-accent="">
|
||||
|
||||
|
||||
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
|
||||
|
|
@ -62,12 +65,13 @@
|
|||
|
||||
</div>
|
||||
|
||||
<header class="md-header" data-md-component="header">
|
||||
|
||||
|
||||
<header class="md-header" data-md-component="header">
|
||||
<nav class="md-header-nav md-grid" aria-label="Header">
|
||||
<a href="http://containrrr.github.io/watchtower/" title="Watchtower" class="md-header-nav__button md-logo" aria-label="Watchtower">
|
||||
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 003-3 3 3 0 00-3-3 3 3 0 00-3 3 3 3 0 003 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54z"/></svg>
|
||||
<img src="../images/logo-450px.png" alt="logo">
|
||||
|
||||
</a>
|
||||
<label class="md-header-nav__button md-icon" for="__drawer">
|
||||
|
|
@ -96,7 +100,7 @@
|
|||
<label class="md-search__overlay" for="__search"></label>
|
||||
<div class="md-search__inner" role="search">
|
||||
<form class="md-search__form" name="search">
|
||||
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active">
|
||||
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active" required>
|
||||
<label class="md-search__icon md-icon" for="__search">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
||||
|
|
@ -147,12 +151,13 @@
|
|||
<div class="md-sidebar md-sidebar--primary" data-md-component="navigation">
|
||||
<div class="md-sidebar__scrollwrap">
|
||||
<div class="md-sidebar__inner">
|
||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||
|
||||
|
||||
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
||||
<label class="md-nav__title" for="__drawer">
|
||||
<a href="http://containrrr.github.io/watchtower/" title="Watchtower" class="md-nav__button md-logo" aria-label="Watchtower">
|
||||
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 003-3 3 3 0 00-3-3 3 3 0 00-3 3 3 3 0 003 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54z"/></svg>
|
||||
<img src="../images/logo-450px.png" alt="logo">
|
||||
|
||||
</a>
|
||||
Watchtower
|
||||
|
|
@ -179,7 +184,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href=".." title="Home" class="md-nav__link">
|
||||
<a href=".." class="md-nav__link">
|
||||
Home
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -197,7 +202,7 @@
|
|||
<input class="md-nav__toggle md-toggle" data-md-toggle="toc" type="checkbox" id="__toc">
|
||||
|
||||
|
||||
<a href="./" title="Introduction" class="md-nav__link md-nav__link--active">
|
||||
<a href="./" class="md-nav__link md-nav__link--active">
|
||||
Introduction
|
||||
</a>
|
||||
|
||||
|
|
@ -210,7 +215,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../usage-overview/" title="Usage overview" class="md-nav__link">
|
||||
<a href="../usage-overview/" class="md-nav__link">
|
||||
Usage overview
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -222,7 +227,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../arguments/" title="Arguments" class="md-nav__link">
|
||||
<a href="../arguments/" class="md-nav__link">
|
||||
Arguments
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -234,7 +239,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../notifications/" title="Notifications" class="md-nav__link">
|
||||
<a href="../notifications/" class="md-nav__link">
|
||||
Notifications
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -246,7 +251,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../container-selection/" title="Container selection" class="md-nav__link">
|
||||
<a href="../container-selection/" class="md-nav__link">
|
||||
Container selection
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -258,7 +263,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../private-registries/" title="Private registries" class="md-nav__link">
|
||||
<a href="../private-registries/" class="md-nav__link">
|
||||
Private registries
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -270,7 +275,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../linked-containers/" title="Linked containers" class="md-nav__link">
|
||||
<a href="../linked-containers/" class="md-nav__link">
|
||||
Linked containers
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -282,7 +287,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../remote-hosts/" title="Remote hosts" class="md-nav__link">
|
||||
<a href="../remote-hosts/" class="md-nav__link">
|
||||
Remote hosts
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -294,7 +299,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../secure-connections/" title="Secure connections" class="md-nav__link">
|
||||
<a href="../secure-connections/" class="md-nav__link">
|
||||
Secure connections
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -306,7 +311,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../stop-signals/" title="Stop signals" class="md-nav__link">
|
||||
<a href="../stop-signals/" class="md-nav__link">
|
||||
Stop signals
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -318,7 +323,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../lifecycle-hooks/" title="Lifecycle hooks" class="md-nav__link">
|
||||
<a href="../lifecycle-hooks/" class="md-nav__link">
|
||||
Lifecycle hooks
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -330,7 +335,7 @@
|
|||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../running-multiple-instances/" title="Running multiple instances" class="md-nav__link">
|
||||
<a href="../running-multiple-instances/" class="md-nav__link">
|
||||
Running multiple instances
|
||||
</a>
|
||||
</li>
|
||||
|
|
@ -358,11 +363,11 @@
|
|||
<p>Watchtower is an application that will monitor your running Docker containers and watch for changes to the images that those containers were originally started from. If watchtower detects that an image has changed, it will automatically restart the container using the new image.</p>
|
||||
<p>With watchtower you can update the running version of your containerized app simply by pushing a new image to the Docker Hub or your own image registry. Watchtower will pull down your new image, gracefully shut down your existing container and restart it with the same options that were used when it was deployed initially.</p>
|
||||
<p>For example, let's say you were running watchtower along with an instance of <em>centurylink/wetty-cli</em> image:</p>
|
||||
<pre><code class="bash">$ docker ps
|
||||
<div class="codehilite"><pre><span></span><code>$ docker ps
|
||||
CONTAINER ID IMAGE STATUS PORTS NAMES
|
||||
967848166a45 centurylink/wetty-cli Up 10 minutes 0.0.0.0:8080->3000/tcp wetty
|
||||
6cc4d2a9d1a5 containrrr/watchtower Up 15 minutes watchtower
|
||||
</code></pre>
|
||||
967848166a45 centurylink/wetty-cli Up <span class="m">10</span> minutes <span class="m">0</span>.0.0.0:8080->3000/tcp wetty
|
||||
6cc4d2a9d1a5 containrrr/watchtower Up <span class="m">15</span> minutes watchtower
|
||||
</code></pre></div>
|
||||
|
||||
<p>Every few minutes watchtower will pull the latest <em>centurylink/wetty-cli</em> image and compare it to the one that was used to run the "wetty" container. If it sees that the image has changed it will stop/remove the "wetty" container and then restart it using the new image and the same <code>docker run</code> options that were used to start the container initially (in this case, that would include the <code>-p 8080:3000</code> port mapping).</p>
|
||||
|
||||
|
|
@ -383,7 +388,7 @@ CONTAINER ID IMAGE STATUS PORTS
|
|||
<div class="md-footer-nav">
|
||||
<nav class="md-footer-nav__inner md-grid" aria-label="Footer">
|
||||
|
||||
<a href=".." title="Home" class="md-footer-nav__link md-footer-nav__link--prev" rel="prev">
|
||||
<a href=".." class="md-footer-nav__link md-footer-nav__link--prev" rel="prev">
|
||||
<div class="md-footer-nav__button md-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
||||
</div>
|
||||
|
|
@ -398,7 +403,7 @@ CONTAINER ID IMAGE STATUS PORTS
|
|||
</a>
|
||||
|
||||
|
||||
<a href="../usage-overview/" title="Usage overview" class="md-footer-nav__link md-footer-nav__link--next" rel="next">
|
||||
<a href="../usage-overview/" class="md-footer-nav__link md-footer-nav__link--next" rel="next">
|
||||
<div class="md-footer-nav__title">
|
||||
<div class="md-ellipsis">
|
||||
<span class="md-footer-nav__direction">
|
||||
|
|
@ -431,8 +436,8 @@ CONTAINER ID IMAGE STATUS PORTS
|
|||
|
||||
</div>
|
||||
|
||||
<script src="../assets/javascripts/vendor.77e55a48.min.js"></script>
|
||||
<script src="../assets/javascripts/bundle.aa3f9871.min.js"></script><script id="__lang" type="application/json">{"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing"}</script>
|
||||
<script src="../assets/javascripts/vendor.0ac82a11.min.js"></script>
|
||||
<script src="../assets/javascripts/bundle.f81dfb4d.min.js"></script><script id="__lang" type="application/json">{"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing"}</script>
|
||||
|
||||
<script>
|
||||
app = initialize({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue