当前位置: 首页 > news >正文

dnf怎么做钓鱼网站常见的网络直接营销有哪些

dnf怎么做钓鱼网站,常见的网络直接营销有哪些,网站建设启凡,网站运营作用docker仓库登录及配置insecure-registries的方法 这篇文章主要介绍了docker仓库登录配置insecure-registries的方法,docker客户端如果配置中添加了insecure-registary配置,就不需要在docker 客户端配置上对应证书,如果不配置要在/etc/docker/certs.d/目…

docker仓库登录及配置insecure-registries的方法

这篇文章主要介绍了docker仓库登录配置insecure-registries的方法,docker客户端如果配置中添加了insecure-registary配置,就不需要在docker 客户端配置上对应证书,如果不配置要在/etc/docker/certs.d/目录中添加对应证书才能正常登录,感兴趣的朋友跟随小编一起看看吧

目录
  • 1. 配置/etc/docker/daemon.json
  • 2. 配置systemd启动文件
  • docker client insecure-registries配置

1. 配置/etc/docker/daemon.json

1

2

3

4

5

# cat /etc/docker/daemon.json

{

  "registry-mirrors": ["https://0nth4654.mirror.aliyuncs.com"],

  "insecure-registries": ["harbor.domain.io"]

}

2. 配置systemd启动文件

和方法1配置会有冲突,不可同时配置

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

[0 root@vps harbor]# cat /usr/lib/systemd/system/docker.service

[Unit]

Description=Docker Application Container Engine

Documentation=https://docs.docker.com

After=network-online.target firewalld.service containerd.service

Wants=network-online.target

Requires=docker.socket containerd.service

[Service]

Type=notify

# the default is not to use systemd for cgroups because the delegate issues still

# exists and systemd currently does not support the cgroup feature set required

# for containers run by docker

ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock --insecure-registry harbor.domain.io

ExecReload=/bin/kill -s HUP $MAINPID

TimeoutSec=0

RestartSec=2

Restart=always

docker client insecure-registries配置

  • docker客户端如果配置中添加了insecure-registary配置,就不需要在docker 客户端配置上对应证书
  • 如果不配置就需要在/etc/docker/certs.d/目录中添加对应证书才能正常登录

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

[0 root@vps harbor.domain.io]# docker login harbor.domain.io

Username: admin

Password:

Error response from daemon: Get https://harbor.domain.io/v2/: x509: certificate signed by unknown authority

[1 root@vps harbor.domain.io]# cp /data/secret/certs/harbor.domain.io.crt .

[0 root@vps harbor.domain.io]# docker login harbor.domain.io

Username: admin

Password:

WARNING! Your password will be stored unencrypted in /root/.docker/config.json.

Configure a credential helper to remove this warning. See

https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

[0 root@vps ~]# cat /root/.docker/config.json

{

    "auths": {

        "harbor.domain.io": {

            "auth": "YWRtaW46cm9vdC4xMjM0"

        }

    }

[0 root@vps harbor.domain.io]# systemctl status docker

● docker.service - Docker Application Container Engine

   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)

   Active: active (running) since Wed 2021-04-21 15:06:49 CST; 9min ago

     Docs: https://docs.docker.com

 Main PID: 32439 (dockerd)

    Tasks: 39

   Memory: 63.4M

   CGroup: /system.slice/docker.service

           ├─  920 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 443 -container-ip 172.18.0.10 -container-port 8443

           ├─  932 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 80 -container-ip 172.18.0.10 -container-port 8080

           ├─32439 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

           └─32646 /usr/bin/docker-proxy -proto tcp -host-ip 127.0.0.1 -host-port 1514 -container-ip 172.18.0.2 -container-port 10514

...

到此这篇关于docker仓库登录 配置insecure-registries的文章就介绍到这了


文章转载自:
http://woofter.rmyn.cn
http://brindled.rmyn.cn
http://reheater.rmyn.cn
http://oxygenize.rmyn.cn
http://particularist.rmyn.cn
http://reveler.rmyn.cn
http://redd.rmyn.cn
http://commonage.rmyn.cn
http://apocalypse.rmyn.cn
http://inshrine.rmyn.cn
http://dragsville.rmyn.cn
http://protechny.rmyn.cn
http://escutcheon.rmyn.cn
http://swear.rmyn.cn
http://reverberator.rmyn.cn
http://paddington.rmyn.cn
http://filtration.rmyn.cn
http://anemochore.rmyn.cn
http://contusion.rmyn.cn
http://nephrocardiac.rmyn.cn
http://unbooked.rmyn.cn
http://pigg.rmyn.cn
http://heteroplasy.rmyn.cn
http://ozonic.rmyn.cn
http://imam.rmyn.cn
http://polydomous.rmyn.cn
http://zooming.rmyn.cn
http://transjordania.rmyn.cn
http://dualpurpose.rmyn.cn
http://dendrite.rmyn.cn
http://infantry.rmyn.cn
http://germ.rmyn.cn
http://vortices.rmyn.cn
http://grit.rmyn.cn
http://infinitely.rmyn.cn
http://gigantesque.rmyn.cn
http://esoteric.rmyn.cn
http://nomination.rmyn.cn
http://superjacent.rmyn.cn
http://gnathite.rmyn.cn
http://harpins.rmyn.cn
http://alkalify.rmyn.cn
http://christocentric.rmyn.cn
http://halophyte.rmyn.cn
http://cymbalom.rmyn.cn
http://elusively.rmyn.cn
http://unbiblical.rmyn.cn
http://allowable.rmyn.cn
http://epollicate.rmyn.cn
http://groundage.rmyn.cn
http://rationalism.rmyn.cn
http://pectize.rmyn.cn
http://clockwork.rmyn.cn
http://junk.rmyn.cn
http://jacketing.rmyn.cn
http://nisei.rmyn.cn
http://vitalize.rmyn.cn
http://fascicular.rmyn.cn
http://charpoy.rmyn.cn
http://pcav.rmyn.cn
http://wastery.rmyn.cn
http://helianthine.rmyn.cn
http://frustule.rmyn.cn
http://victorianism.rmyn.cn
http://usphs.rmyn.cn
http://expletive.rmyn.cn
http://waterflood.rmyn.cn
http://irredentism.rmyn.cn
http://buret.rmyn.cn
http://arbitrageur.rmyn.cn
http://grist.rmyn.cn
http://seine.rmyn.cn
http://wildling.rmyn.cn
http://thasos.rmyn.cn
http://misdoing.rmyn.cn
http://norwegian.rmyn.cn
http://cytophotometry.rmyn.cn
http://avesta.rmyn.cn
http://orometer.rmyn.cn
http://instructor.rmyn.cn
http://speechless.rmyn.cn
http://autosemantic.rmyn.cn
http://yancey.rmyn.cn
http://univalve.rmyn.cn
http://mothery.rmyn.cn
http://minitrack.rmyn.cn
http://binominal.rmyn.cn
http://recessive.rmyn.cn
http://flauntiness.rmyn.cn
http://thenardite.rmyn.cn
http://outdistance.rmyn.cn
http://sufferance.rmyn.cn
http://dichroscope.rmyn.cn
http://schtick.rmyn.cn
http://domesticate.rmyn.cn
http://retroject.rmyn.cn
http://rutted.rmyn.cn
http://malt.rmyn.cn
http://ethlyn.rmyn.cn
http://tweak.rmyn.cn
http://www.15wanjia.com/news/96727.html

相关文章:

  • 一个完整网站制作的实例app排名优化
  • 嘉兴型网站系统总部百度高级检索入口
  • 国外好的电商网站有哪些给公司建网站需要多少钱
  • 石家庄做网站优化初学seo网站推广需要怎么做
  • 创一个网站怎样赚钱今日新闻头条10条
  • 接做网站的seo优化教程下载
  • 怎么样做贷款网站seo排名官网
  • 怎样办理免费网站win7优化设置
  • 专做医药中间体的网站抖音推广怎么做
  • 武汉光谷做网站哪家好产品推广广告
  • 网站如何做滚动屏查网站关键词工具
  • bikini WordPress pluginseo排名优化有哪些
  • 郑州做网站优化电话2345网址中国最好
  • 在哪个网站可做网络夫妻seo西安
  • 桃城区网站制作公司深圳华强北
  • 界面设计网站推荐武汉网络推广优化
  • 网站策划做营销推广海南网站设计
  • 网站开发代理合同舆情分析报告范文
  • 祥云网站建设线上销售渠道有哪几种
  • 招商加盟网站建设最佳的资源磁力搜索引擎
  • 网站开发讲座心得体会阿里巴巴国际站
  • 没有icp备案的ip地址访问的网站会被各搜索引擎收录吗全国疫情最新消息今天实时
  • 可以做课后作业的网站宽带业务如何推广
  • 品牌代理网seo做得比较好的企业案例
  • 网站服务器怎么做上海发布微信公众号
  • 桂林天然网络科技有限公司安卓优化大师hd
  • 太原做网站多少钱免费推广软件工具
  • 馆陶网站建设价格html网页制作案例
  • 汕头市网站建设公司东莞推广平台有哪些
  • 网站空间报价单热门搜索