De Wiki inetshell
Saltar a: navegación, buscar

Configurar un Docker registry[editar]

https://support.sonatype.com/hc/en-us/articles/115013153887-Docker-Repository-Configuration-and-Client-Connection

https://blog.sonatype.com/using-nexus-3-as-your-repository-part-3-docker-images

Limpiar imagenes de Docker[editar]

https://github.com/mlabouardy/nexus-cli

$wget https://s3.eu-west-2.amazonaws.com/nexus-cli/1.0.0-beta/linux/nexus-cli
$chmod +x nexus-cli


./nexus-cli configure
Enter Nexus Host: https://******
Enter Nexus Repository Name: ****
Enter Nexus Username: ****
Enter Nexus Password: ********

./nexus-cli image tags -name user/image
./nexus-cli image delete -name user/image -keep 5

Nexus detras de un NGINX[editar]

https://stackoverflow.com/questions/44695535/nginx-ssl-termination-proxy-to-nexus-not-working-with-ports-different-than-443

Reparar base de datos Nexus[editar]

https://stackoverflow.com/questions/42951710/orientdb-corruption-state-in-nexus-repository-version-3-2-0-01

https://issues.sonatype.org/browse/NEXUS-17604

docker exec -it nexus bash
java -jar /opt/sonatype/nexus/lib/support/nexus-orient-console.jar
CONNECT plocal:/nexus-data/db/component admin admin

REBUILD INDEX *
REPAIR DATABASE --fix-graph
REPAIR DATABASE --fix-links
REPAIR DATABASE --fix-ridbags
REPAIR DATABASE --fix-bonsai
CHECK DATABASE
DISCONNECT

Configurar memoria de Nexus[editar]

https://help.sonatype.com/repomanager3/system-requirements