Docker awsome

docker-ufw

https://github.com/chaifeng/ufw-docker

https://docs.docker.com/network/iptables/

docker-hub


https://hub.docker.com/r/resilio/sync/
v2fly/v2fly-core:latest

docker-ps

docker stats

docker system prune
docker system prune -a
docker system prune --volumes


docker network prune
docker volume prune
docker container prune
docker image prune -a

java的东西堆内存占用有点夸张

springboot部署内存占用的也很厉害, 调整java xMax参数也毛用没有

这个sonatype也是java的,内存占用的也很夸张

docker stats

迁移服务至其他机器+停止服务冷启动

        handle_path /maven/* {
                redir https://nexus.intbird.net/nexus/content/repositories/
        }

        handle_path /nexus/* {
                redir https://nexus.intbird.net/nexus/
        }


nexus.intbird.net {
...
}

spring.intbird.net {
...
}

手动负载均衡一下