logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Docker镜像仓库服务registry.Service

镜像仓库服务是docker对镜像仓库操作(如:拉取,提交,搜索等)的接口抽象,实现主要在docker目录下的registry包,下面是Service接口的定义,实现在docker\registry\service.go:// Service is the interface defining what a registry service should implement.type Service

docker containerd shim分析 (转)

文章原链接docker containerd shim分析// containerd-shim is a small shim that sits in front of a runtime implementation that allows it to be reparented to init and handle reattach from the caller.// the cwd of

docker pull命令实现与镜像存储(1)

我们在《docker命令解析》篇章我们了解了命令的解析过程,所以不再赘述。我们直接看执行命令任务的代码。定位到docker\cli\command\commands\commands.go的AddCommands函数,我们容易找到pull命令的实现函数在hide(image.NewPullCommand(dockerCli))注册。我们进入该函数:// NewPullCommand crea

【gogs】Error parsing reference: "golang:alpine AS binarybuilder" is not a valid repository/tag: inval

1 构建gogs镜像出错Error parsing reference: "golang:alpine AS binarybuilder" is not a valid repository/tag: inval查了下需要更新docker,先删除原先的docker597yum remove docker598yum remove docker-common5...

Docker存储驱动之overlay新镜像存储的实现和inode耗尽问题

镜像是按层下载和管理的,新镜像下载的文件临时存放在/var/lib/docker/tmp,文件命名方式是GetImageBlobxxx(xxx是一串随机数字),这些临时文件时按层打包为tar.gz等压缩包。临时文件首先被解压为tar包存在缓存中,然后使用docker\layer\layer_store.go的layerStore的Register函数注册到系统中,最后临时文件被删除。在dock

Tensorflow模型保存和模型使用

1 模型保存TensorFlow提供了一个非常方便的api,tf.train.Saver()来保存和还原一个机器学习模型。程序会生成并保存四个文件:checkpoint 文本文件,记录了模型文件的路径信息列表mnist-10000.data-00000-of-00001网络权重信息 mnist-10000.index  .data和.index这两个文件是二进制文件,保存了模型中的...

CentOS 8 使用kubeadm部署单机版k8s及部署Ingress-nginx

1 安装docker1.1 添加yum源curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo1.2 安装 containerd包yum install https://download.docker.com/linux/fedora/30/x86_64/stab

k8s部署nginx实例、iptables开放端口

1 运行nginx实例kubectl run nginx --image=nginx --replicas=2 --port=802 查看pod[root@localhost ~]# kubectl get podsNAMEREADYSTATUSRESTARTSAGEnginx-3449338310-tmlqp ...

k8s出现pod服务一直处于ContainerCreating状态的问题的过程

1 问题详情创建nginxkubectl run nginx --image=nginx --replicas=2 --port=80发现一直处于ContainerCreatingkubectl -s 'http://127.0.0.1:8099' get podsNAMEREADYSTATUSRESTARTSAGEnginx-203864630-6rfgg0/1Container

【Spring Boot 使用记录】kafka自动配置和自定义配置

1 自动配置自动配置实现在 org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration配置类为:@ConfigurationProperties(prefix = "spring.kafka")public class KafkaProperties {......}所以使用spring boot 默认的自动配置,kafk

    共 17 条
  • 1
  • 2
  • 请选择