docker-registry[centos]
来源:互联网 发布:禁忌的边界线知乎 编辑:程序博客网 时间:2024/05/01 11:33
1 运行docker registry
1) 安装docker
yum install docker
2) 从docker hub上下载registry镜像:
docker pull registry
3) 启动docker registry
docker run -p 5000:5000 registry
2 docker registry容器属性
[root@localhost ~]# docker inspect f555
[{
"AppArmorProfile": "",
"Args": [],
"Config": {
"AttachStderr": true,
"AttachStdin": false,
"AttachStdout": true,
"Cmd": [
"docker-registry" ------------registry容器启动后运行的命令,用来启动本地registry服务
],
"CpuShares": 0,
"Cpuset": "",
"Domainname": "",
"Entrypoint": null,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"DOCKER_REGISTRY_CONFIG=/docker-registry/config/config_sample.yml",
"SETTINGS_FLAVOR=dev"
],
"ExposedPorts": {
"5000/tcp": {}
},
3 docker-proxy监听的ip端口 [#todo补充分析docker-proxy工作原理]
[root@localhost ~]# netstat -nap |grep 5000
tcp6 0 0 :::5000 :::* LISTEN 2435/docker-proxy
4 上传镜像到本地docker-registry
docker push $id 0.0.0.0:5000/image_loacal
- docker-registry[centos]
- centos中运行docker-registry
- Centos Docker registry push异常问题
- Centos 7上Docker私有仓库Registry
- Docker Registry
- docker-registry
- [docker]docker registry
- Docker-搭建Docker Registry
- 搭建docker内网私服(docker-registry with nginx&ssl on centos)
- 搭建docker内网私服(docker-registry with nginx&ssl on centos)
- 搭建docker内网私服(docker-registry with nginx&ssl on centos)
- 搭建docker内网私服(docker-registry with nginx&ssl on centos)
- [docker]docker registry简单试用
- Docker中级学习-Docker Registry
- Docker Registry--私有docker站
- Docker私服Registry搭建
- 自建Docker Registry
- docker 搭建私有registry
- Python学习笔记——Unicode
- windows下批量修改文件(或文件夹)权限或所有者
- POJ 1755 Triathlon
- Java系列(十九)__Java网络编程
- 第2篇 简单工厂模式
- docker-registry[centos]
- eXtremeDB 数据库大小定义注意事项
- Iterator(3)--Interface
- uva 1368 - DNA Consensus String(字符串处理)
- 2014年心得体会
- Windows下安装OpenSSL及其使用
- nginx localhost 配置,开启目录浏览
- android 限制广播消息的接收者
- POJ 2540 Hotter Colder