zoukankan      html  css  js  c++  java
  • arthas安装进docker

    教程参照https://alibaba.github.io/arthas/arthas-tutorials


    mkdir /opt/downloads -p
    mkdir /opt/arthas -p
    下载地址参照https://github.com/alibaba/arthas/releases
    wget -P /opt/downloads https://github.com/alibaba/arthas/releases/download/arthas-all-3.1.4/arthas-3.1.4-bin.zip
    unzip -o /opt/downloads/arthas-3.1.4-bin.zip -d /opt/arthas/
    docker cp /opt/arthas/ <container_name>:/opt/
    docker exec -it <container_name> /bin/bash 或 docker exec -it --user root <container_name> /bin/bash

    进入docker后
    cd /opt/arthas
    java -jar arthas-boot.jar 或 java -jar /opt/arthas/arthas-boot.jar

  • 相关阅读:
    并查集
    关于一些位运算的小记
    用ST解决RMQ问题
    寒假作业_4
    H
    卢卡斯 组合数
    并查集
    G
    F
    E
  • 原文地址:https://www.cnblogs.com/wintersoft/p/11841534.html
Copyright © 2011-2022 走看看