安装docker ubuntu
docker pull ubuntu:18.04
docker run -tid --name ubuntu18.04 ubuntu18.04
安装jdk
docker exec -ti ubuntu18.04 bash
apt-get update
apt-get install openjdk-8-jdk
java --version
安装maven
apt-get install maven
mvn --version
安装docker ubuntu
docker pull ubuntu:18.04
docker run -tid --name ubuntu18.04 ubuntu18.04
安装jdk
docker exec -ti ubuntu18.04 bash
apt-get update
apt-get install openjdk-8-jdk
java --version
安装maven
apt-get install maven
mvn --version
本文标题:docker jdk环境搭建
本文链接:https://www.haomeiwen.com/subject/trffwrtx.html
网友评论