首页
关于
壁纸
直播
留言
友链
统计
Search
1
《三国志英杰传》攻略
6,036 阅读
2
白嫖Emby
5,772 阅读
3
Emby客户端IOS破解
5,771 阅读
4
《吞食天地1》金手指代码
4,697 阅读
5
破解emby-server
4,041 阅读
moonjerx
game
age-of-empires
zx3
san-guo-zhi
尼尔:机械纪元
net
emby
learn-video
docker
torrent
photoshop
route
minio
git
ffmpeg
im
vue
gitlab
typecho
svn
alipay
nasm
srs
mail-server
tailscale
kkfileview
aria2
webdav
synology
redis
oray
chemical
mxsite
math
π
x-ui
digital-currency
server
nginx
baota
k8s
http
cloud
linux
shell
database
vpn
esxi
rancher
domain
k3s
ewomail
os
android
windows
ios
app-store
macos
develop
java
javascript
uniapp
nodejs
hbuildx
maven
android-studio
jetbrain
jenkins
css
mybatis
php
python
hardware
hard-disk
pc
RAM
software
pt
calibre
notion
office
language
literature
philosophy
travel
登录
Search
标签搜索
ubuntu
mysql
openwrt
zerotier
springboot
centos
openvpn
jdk
吞食天地2
synology
spring
idea
windows11
吞食天地1
transmission
google-play
Japanese
xcode
群晖
kiftd
MoonjerX
累计撰写
370
篇文章
累计收到
459
条评论
首页
栏目
moonjerx
game
age-of-empires
zx3
san-guo-zhi
尼尔:机械纪元
net
emby
learn-video
docker
torrent
photoshop
route
minio
git
ffmpeg
im
vue
gitlab
typecho
svn
alipay
nasm
srs
mail-server
tailscale
kkfileview
aria2
webdav
synology
redis
oray
chemical
mxsite
math
π
x-ui
digital-currency
server
nginx
baota
k8s
http
cloud
linux
shell
database
vpn
esxi
rancher
domain
k3s
ewomail
os
android
windows
ios
app-store
macos
develop
java
javascript
uniapp
nodejs
hbuildx
maven
android-studio
jetbrain
jenkins
css
mybatis
php
python
hardware
hard-disk
pc
RAM
software
pt
calibre
notion
office
language
literature
philosophy
travel
页面
关于
壁纸
直播
留言
友链
统计
搜索到
1
篇与
nexus
的结果
2023-04-25
docker安装nexus,搭建docker镜像代理仓库
一、安装Nexusdocker run -d --name nexus \ --restart=always \ --privileged=true \ -p 30024:8081 \ -p 30025:8082 \ -v /home/$USER/dockerfile/nexus/data/nexus-data:/nexus-data \ sonatype/nexus3:3.45.0{callout color="#f0ad4e"} 8081 端口为nexus本身服务的端口; 8082 端口为预留给docker镜像仓库使用的端口。{/callout}二、创建docker镜像仓库1.创建2.选择代理仓库3.填写信息4.添加docker权限5.创建角色和用户(仅使用代理功能无需创建)6.配置/etc/docker/daemon.json文件{ "registry-mirrors": [ "https://hub-mirror.c.163.com", "http://10.10.11.100:30025" ], "insecure-registries": ["10.10.11.100:30025"] }{callout color="#f0ad4e"}未配置该项,可能会报错误: Error response from daemon: Get https://: http: server gave HTTP response to HTTPS client {/callout}重载配置systemctl daemon-reload重启docker服务systemctl restart docker三、测试myuser@ubuntu:/etc/docker$ docker pull 10.10.11.100:30025/helloz/transmission:v1.3 v1.3: Pulling from helloz/transmission ba3557a56b15: Pull complete d9b286767b1b: Pull complete 90d275dc7c03: Pull complete 4cbcf4bbde0c: Pull complete Digest: sha256:2ac88659895b803a461f172efce5bf9f6812f2278a55cbe72d91d7675744d1e1 Status: Downloaded newer image for 10.10.11.100:30025/helloz/transmission:v1.3 10.10.11.100:30025/helloz/transmission:v1.3查看Nexus可以看到已经下载了该镜像
2023年04月25日
117 阅读
0 评论
0 点赞
您的IP: