$ docker run --rm containrrr/watchtower -h
Watchtower automatically updates running Docker containers whenever a new image is released.
More information available at https://github.com/containrrr/watchtower/.
Usage:
watchtower [flags]
Flags:
-a, --api-version string api version to use by docker client (default "1.24")
-c, --cleanup remove previously used images after updating
-d, --debug enable debug mode with verbose logging
--enable-lifecycle-hooks Enable the execution of commands triggered by pre- and post-update lifecycle hooks
-h, --help help for watchtower
-H, --host string daemon socket to connect to (default "unix:///var/run/docker.sock")
-S, --include-stopped Will also include created and exited containers
-i, --interval int poll interval (in seconds) (default 300)
-e, --label-enable watch containers where the com.centurylinklabs.watchtower.enable label is true
-m, --monitor-only Will only monitor for new images, not update the containers
--no-pull do not pull any new images
--no-restart do not restart any containers
--notification-email-delay int Delay before sending notifications, expressed in seconds
--notification-email-from string Address to send notification emails from
--notification-email-server string SMTP server to send notification emails through
--notification-email-server-password string SMTP server password for sending notifications
--notification-email-server-port int SMTP server port to send notification emails through (default 25)
--notification-email-server-tls-skip-verify
Controls whether watchtower verifies the SMTP server's certificate chain and host name.
Should only be used for testing.
--notification-email-server-user string SMTP server user for sending notifications
--notification-email-subjecttag string Subject prefix tag for notifications via mail
--notification-email-to string Address to send notification emails to
--notification-gotify-token string The Gotify Application required to query the Gotify API
--notification-gotify-url string The Gotify URL to send notifications to
--notification-msteams-data The MSTeams notifier will try to extract log entry fields as MSTeams message facts
--notification-msteams-hook string The MSTeams WebHook URL to send notifications to
--notification-slack-channel string A string which overrides the webhook's default channel. Example: #my-custom-channel
--notification-slack-hook-url string The Slack Hook URL to send notifications to
--notification-slack-icon-emoji string An emoji code string to use in place of the default icon
--notification-slack-icon-url string An icon image URL string to use in place of the default icon
--notification-slack-identifier string A string which will be used to identify the messages coming from this watchtower instance (default "watchtower")
-n, --notifications strings notification types to send (valid: email, slack, msteams, gotify)
--notifications-level string The log level used for sending notifications. Possible values: panic, fatal, error, warn, info or debug (default "info")
--remove-volumes remove attached volumes before updating
--revive-stopped Will also start stopped containers that were updated, if include-stopped is active
-R, --run-once Run once now and exit
-s, --schedule string the cron expression which defines when to update
-t, --stop-timeout duration timeout before a container is forcefully stopped (default 10s)
-v, --tlsverify use TLS and verify the remote
You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.
形成此问题的原因是因为我们使用的是免费版Proxmox VE系统,所以每次登录后都会提示这个 “No Valid Subscription (无有效订阅)”弹窗.
tmux new -s name # 新建名为name的会话
tmux ls # 列出所有会话列表
tmux a -t name # 从终端进入名为name的会话
tmux kill-session -t name # 销毁名为name的会话
tmux rename -t old_name new_name # 重命名会话
virt-what支持大量不同的管理程序类型,包括常见的开源管理程序(KVM、Xen、 QEMU、VirtualBox )、 IBM Systemz、LPAR、z/VM等大型系统, Hitachi Virtage等硬件分区方案, VMWare、Microsoft等专有管理程序 Hyper- V 等等。
virt-what已经打包在Fedora (13+)、Red Hat Enterprise Linux (5.7+ 和 6.1+)、Debian、Ubuntu、ArchLinux 和Gentoo中,并且几乎可以在任何 Linux 上 从源代码编译。
安装
RHEL/CentOS/Scientific Linux VM中安装
yum install virt-what
Debian或Ubuntu Linux安装
aptinstall virt-what
Fedora Linux VM安装
dnf install virt-wha
Suse/OpenSUSE安装
zypperin virt-what
编译
wget https://people.redhat.com/~rjones/virt-what/files/virt-what-1.22.tar.gz
tar zxvf virt-what-1.22.tar.gz
cd virt-what-1.22/
./configure
make && make install