일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- golang
- repository
- terraform
- port open
- KVM
- k8s
- grafana-loki
- nfs-provisioner
- kolla
- pacman
- Docker
- Arch
- cephadm
- Kubeflow
- ceph-ansible
- cloud-init
- Octavia
- HTML
- awx
- ubuntu
- Linux
- Ansible
- libvirt
- kolla-ansible
- ceph
- OpenStack
- archlinux
- Kubernetes
- i3
- yum
Archives
- Today
- Total
YJWANG
nexus3 cli 몇가지 본문
# pip3 install nexus3-cli
현 repo 리스트
[root@wyj02_deploy_0 ~]# nexus3 repository list
Name Format Type URL
nuget-group nuget group http://localhost:8081/repository/nuget-group
maven-snapshots maven2 hosted http://localhost:8081/repository/maven-snapshots
maven-central maven2 proxy http://localhost:8081/repository/maven-central
testregi docker hosted http://localhost:8081/repository/testregi
nuget.org-proxy nuget proxy http://localhost:8081/repository/nuget.org-proxy
maven-releases maven2 hosted http://localhost:8081/repository/maven-releases
testregi2 docker hosted http://localhost:8081/repository/testregi2
nuget-hosted nuget hosted http://localhost:8081/repository/nuget-hosted
maven-public maven2 group http://localhost:8081/repository/maven-public
이미지 지우기
[root@wyj02_deploy_0 ~]# nexus3 delete testregi2/v2/test1/manifests/latest
Deleting[################################] 1/1 - 00:00:00
Deleted 1 file
[root@wyj02_deploy_0 ~]# nexus3 delete testregi2/v2/test2/manifests/latest
Deleting[################################] 1/1 - 00:00:00
Deleted 1 file
[root@wyj02_deploy_0 ~]# nexus3 delete testregi2/v2/test3/manifests/latest
Deleting[################################] 1/1 - 00:00:00
Deleted 1 file
이미지 확인
[root@wyj02_deploy_0 ~]# nexus3 list testregi2
v2/test1/manifests/latest
v2/test2/manifests/latest
v2/test3/manifests/latest
realm 확인
[root@wyj02_deploy_0 ~]# nexus3 security realm available
Id Name
==================================================================================================
org.sonatype.repository.conan.internal.security.token.ConanTokenRealm Conan Bearer Token Realm
DefaultRole Default Role Realm
DockerToken Docker Bearer Token Realm
LdapRealm LDAP Realm
NexusAuthenticatingRealm Local Authenticating Realm
NexusAuthorizingRealm Local Authorizing Realm
NpmToken npm Bearer Token Realm
NuGetApiKey NuGet API-Key Realm
rutauth-realm Rut Auth Realm
active realm 확인
[root@wyj02_deploy_0 ~]# nexus3 security realm active
["NexusAuthenticatingRealm", "NexusAuthorizingRealm", "DockerToken"]
반응형