install jenkin using docker
the operation command is as follows
docker pull
docker run: mount the tomcat/jdk/maven installed on the host to the container
docker exec enter the container and you can see the mounted directory
questions are as follows
1: configure tomcat,maven and other paths in the jenkins, opened by the browser. These paths refer to the liunx host path or the mounted path in the container
2: if the host tomcat directory is mounted to the container and I find that the host tomcat needs to be replaced, how to update the tomcat version in the container? before I use docker stop, docker rm, to mount the new path. As a result, I need to reconfigure jenkins
3: the directory mounted in the container does not have operation permissions. Through ls-l, it is found that the mounted directory users and user groups are all root and only users have rwx permissions, while user groups and others do not have any permissions. I want to use sudo to switch administrator accounts and find that I don"t have permission. How can I get permission to change the configuration file
4: ask for a docker communication group