草庐IT

registries

全部标签

registry - 如何从文档中的菜单上下文中删除 git?

我有一个小问题:如何从我的Documents目录的菜单上下文中删除“gitbashhere”和“gitguihere”?我试过:使用未选中的选项重新安装Git-2.15.0-64位。从以下位置删除key:[-HKEY_CLASSES_ROOT\Directory\background\shell\git_gui][-HKEY_CLASSES_ROOT\Directory\background\shell\git_shell][-HKEY_CLASSES_ROOT\Directory\Shell\git_gui][-HKEY_CLASSES_ROOT\Directory\Shell\gi

dial tcp: lookup registry-1.docker.io on 192.168.10.1:53: no such host.

描述:执行dockerrun-dnginx:latest或dockerpullmysql命令失败报错信息如下:[root@node01~]#dockerrun-dnginx:latestUnabletofindimage'nginx:latest'locallydocker:Errorresponsefromdaemon:Head"https://registry-1.docker.io/v2/library/nginx/manifests/latest":dialtcp:lookupregistry-1.docker.ioon192.168.1.1:53:nosuchhost.See'doc

7.2 SpringBoot实现上传图片API + url映射本地路径registry.addResourceHandler

文章目录前言一、url映射本地路径二、上传图片API2.1接口UploadService2.2实现类UploadServiceImpl2.3上传图片Controller三、测试最后前言在图书借阅系统里,有很多图片需要前端展示,这些图片大都是由用户上传,保存在服务端,所以服务端需要提供上传和访问图片。基本要求:前端直接访问网络图片url就可以打开图片,不用下载,更不用base64转码!实现方式:Tomcat静态目录,需要单独部署Tomcat,你只需要把图片保存到Tomcat静态目录SpringBoot添加url映射本地路径,和Tomcat静态目录很像,需要重写WebMvcConfigurer的a

docker registry删除远程仓库镜像

当集群内使用registry做为镜像仓库时,镜像长期积累会导致本地和远程仓库镜像占用大量的磁盘空间,这时我们需要对一些无用镜像进行定期清理。 一、部署registry1.1开启删除功能从registry容器里面将/etc/docker/registry/config.yml复制出来:dockercpregistry:/etc/docker/registry/config.yml./config.yml默认config.yml内容如下:version:0.1log:fields:service:registrystorage:cache:blobdescriptor:inmemoryfilesy

【错误】Error response from daemon: Get “https://registry-1.docker.io/v2/“: dial tcp: lookup registry-1.

今天准备搭建一下ELK集群,结果第一步下载镜像时就出了问题,这也是用Docker以来第一次遇到问题,总结一下。报错如下:Errorresponsefromdaemon:Get"https://registry-1.docker.io/v2/":dialtcp:lookupregistry-1.docker.ioon8.8.8.8:53:readudp192.168.241.128:34634->8.8.8.8:53:i/otimeout起初把报错信息贴到百度去搜索几乎都是说将8.8.8.8设置为DNS服务器,但是事实是我的已经配过的,如下:既然很多帖子都是帖的这个,那证明还是有一部分人是这个原

【错误】Error response from daemon: Get “https://registry-1.docker.io/v2/“: dial tcp: lookup registry-1.

今天准备搭建一下ELK集群,结果第一步下载镜像时就出了问题,这也是用Docker以来第一次遇到问题,总结一下。报错如下:Errorresponsefromdaemon:Get"https://registry-1.docker.io/v2/":dialtcp:lookupregistry-1.docker.ioon8.8.8.8:53:readudp192.168.241.128:34634->8.8.8.8:53:i/otimeout起初把报错信息贴到百度去搜索几乎都是说将8.8.8.8设置为DNS服务器,但是事实是我的已经配过的,如下:既然很多帖子都是帖的这个,那证明还是有一部分人是这个原

Gitlab Registries

在项目开发和部署过程中,我们常常需要一套私有仓库,比如CodeRepository、PackageRepository,DockerRegistry等。CodeRepository:在github或gitlab或gitee等平台上创建私有项目;或搭建本地代码服务器,一般常用gitlab开源版本搭建。PackageRegistry:以nuget为例,官方nuget.org是不提供私有空间的,因此我们常用baget(只支持nuget)、nexus(支持多种类型)搭建私有PackageRegistry。DockerRegistry:私有Docker镜像仓库,常用于本地构建、远程部署场景,可使用reg

node.js - 错误 : Cannot find module 'npm-registry-client'

每当我尝试安装npm-registry-client时,都会收到错误“错误:找不到模块'npm-registry-client'”。我已尝试使用以下命令解决此问题,但这不起作用:npm卸载npminstall-gnpm@latest完整的输出是:user@pc~/devel>npminstallnpm-registry-client--savemodule.js:340throwerr;^Error:Cannotfindmodule'npm-registry-client'atFunction.Module._resolveFilename(module.js:338:15)atFun

node.js - 错误 : Cannot find module 'npm-registry-client'

每当我尝试安装npm-registry-client时,都会收到错误“错误:找不到模块'npm-registry-client'”。我已尝试使用以下命令解决此问题,但这不起作用:npm卸载npminstall-gnpm@latest完整的输出是:user@pc~/devel>npminstallnpm-registry-client--savemodule.js:340throwerr;^Error:Cannotfindmodule'npm-registry-client'atFunction.Module._resolveFilename(module.js:338:15)atFun

node.js - NPM 注册表替代 http ://registry. npmjs.org/npm

已结束。此问题不符合StackOverflowguidelines.它目前不接受答案。我们不允许提出有关书籍、工具、软件库等方面的建议的问题。您可以编辑问题,以便用事实和引用来回答它。关闭4年前。Improvethisquestion不幸的是http://registry.npmjs.org/npm下降导致$npminstallmimenpmERR!Error:ucs{bad_utf8_character_code}:mimenpmERR!atIncomingMessage.(/usr/local/lib/node_modules/npm/lib/utils/npm-registry-