标签:soc mvn toc docker 验证 logs 技术 入门 全局
- docker run -u root --name jenkins -d -p 8080:8080 -p 50000:50000 -v jenkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean
启动后即可打开对应8080端口的网址
- docker logs jenkins
- docker exec -it jenkins /bin/bash
- cd /usr/local
- wget https://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
- tar -zxvf apache-maven-3.6.3-bin.tar.gz
- vi /etc/profile
MAVEN_HOME=/usr/local/apache-maven-3.6.3
export PATH=$MAVEN_HOME/bin:$PATH
- source /etc/profile
- mvn -v
标签:soc mvn toc docker 验证 logs 技术 入门 全局
原文地址:https://www.cnblogs.com/mankeu/p/13390486.html