我无法完全理解我的 AWS ECS Docker Hub 映像的映像[registry-url]/[namespace]/[image]:[tag]
URL 。
使用 Docker 客户端,它只是docker run -it hendry/count
.
那么 Docker Hub 的镜像 URL 是什么?
使用 Digital Ocean,我可以在开始之前设置一个完全限定的域名,我非常想念 AWS EC2 的这个功能。
目前我手动进入一个新启动的Ubuntu 16.04 LTS实例并且:
sudo hostnamectl set-hostname myhost.example.com
sudo vim /etc/hosts
并附myhost.example.com
加到该127.0.0.1
行我错过了一个技巧吗?我也看不到任何Route 53 / EC2集成。
我听说http://www.isoc.org/在其 DNS 记录中有域名系统安全扩展。
如何使用该工具查看和验证 DNS dig
?
我想直接从 Nagios 服务文件中调用命令,而不是笨拙地将参数传递给 commands.cfg。例如我想这样做:
define service {
service_description footest
check_command $USER1$/check_http example.com -u http://example.com/index.html
use generic-service
host_name example
}
Run Code Online (Sandbox Code Playgroud)
但我得到一个:
Error: Service check command '/usr/share/nagios/libexec/check_http example.com -u http://example.com/index.html' specified in service 'footest' for host 'example' not defined anywhere!
Run Code Online (Sandbox Code Playgroud)